From owner-freebsd-current@FreeBSD.ORG Sun Aug 1 14:12:33 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B72716A4CF; Sun, 1 Aug 2004 14:12:33 +0000 (GMT) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDF9543D73; Sun, 1 Aug 2004 14:12:32 +0000 (GMT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 0D6861FFDD4; Sun, 1 Aug 2004 16:12:32 +0200 (CEST) Received: by transport.cksoft.de (Postfix, from userid 66) id 084BE1FF91D; Sun, 1 Aug 2004 16:12:30 +0200 (CEST) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id C7A3115384; Sun, 1 Aug 2004 14:12:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id BC8B715329; Sun, 1 Aug 2004 14:12:23 +0000 (UTC) Date: Sun, 1 Aug 2004 14:12:23 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: Maxim Maximov In-Reply-To: Message-ID: References: <20040730091525.U484@pukruppa.net> <20040731213854.GB38076@cell.sick.ru> <410CB1E4.2030103@mcsi.pp.ru> <20040801093316.GA40608@cell.sick.ru> <410CBBA9.1080302@mcsi.pp.ru> <20040801095558.GA40732@cell.sick.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de cc: Gleb Smirnoff cc: freebsd-current@freebsd.org Subject: Re: PPP(was: oE) problems with latest -CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Aug 2004 14:12:33 -0000 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 @@ -241,8 +241,8 @@ 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