Re: PPP(was: oE) problems with latest -CURRENT

From: Bjoern A. Zeeb <bzeeb-lists_at_lists.zabbadoz.net>
Date: Sun, 1 Aug 2004 14:12:23 +0000 (UTC)
On Sun, 1 Aug 2004, Bjoern A. Zeeb wrote:

> So it seems that either ether.c (command.c, physical.c) change
> or the ng_pppoe still have problems selecting the correct type
> and default to standard. I am checking the sources to find the place
> if glebius isn't faster ;-)

sorry for replying to myself: could you please test this patch:

Index: ng_pppoe.c
===================================================================
RCS file: /local/mirror/FreeBSD/r/ncvs/src/sys/netgraph/ng_pppoe.c,v
retrieving revision 1.66
diff -u -p -r1.66 ng_pppoe.c
--- ng_pppoe.c	27 Jul 2004 19:47:13 -0000	1.66
+++ ng_pppoe.c	1 Aug 2004 14:09:40 -0000
_at__at_ -241,8 +241,8 _at__at_ typedef struct sess_con *sessp;
 #define	NG_PPPOE_SESSION_NODE(sp) NG_HOOK_NODE(sp->hook)

 enum {
-	PPPOE_STANDARD	= 1,	/* standard RFC2516 mode */
-	PPPOE_NONSTANDARD,	/* 3Com proprietary mode */
+	PPPOE_STANDARD	= 0,	/* standard RFC2516 mode */
+	PPPOE_NONSTANDARD = 1,	/* 3Com proprietary mode */
 };

 struct ng_pppoe_mode_t {

-- 
Bjoern A. Zeeb				bzeeb at Zabbadoz dot NeT
Received on Sun Aug 01 2004 - 12:12:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:04 UTC