From owner-cvs-src@FreeBSD.ORG Fri Jan 27 10:56:22 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E156B16A420; Fri, 27 Jan 2006 10:56:22 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7C1343D46; Fri, 27 Jan 2006 10:56:22 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k0RAuMOm002615; Fri, 27 Jan 2006 10:56:22 GMT (envelope-from glebius@repoman.freebsd.org) Received: (from glebius@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k0RAuMJQ002614; Fri, 27 Jan 2006 10:56:22 GMT (envelope-from glebius) Message-Id: <200601271056.k0RAuMJQ002614@repoman.freebsd.org> From: Gleb Smirnoff Date: Fri, 27 Jan 2006 10:56:22 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/netgraph ng_pppoe.c ng_pppoe.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jan 2006 10:56:23 -0000 glebius 2006-01-27 10:56:22 UTC FreeBSD src repository Modified files: sys/netgraph ng_pppoe.c ng_pppoe.h Log: o Introduce D-Link compat mode, that is default to off and can be set by NGM_PPPOE_SETMODE message. When D-Link compat mode is on, we will broadcast PADI with empty Service-Name to all listening hooks. o Rewrite the compatibility options. Before we had two modes - standard and non-standard (aka 3Com). Now we have standard mode and two compat flags, that can be combined. o Be consistent and do s/STUPID/3COM/g. I don't say that 3Com mode isn't stupid, just want to make code easier to read. Revision Changes Path 1.78 +80 -59 src/sys/netgraph/ng_pppoe.c 1.23 +7 -5 src/sys/netgraph/ng_pppoe.h