From owner-cvs-all Sun Dec 30 12:42:35 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1ED5F37B416; Sun, 30 Dec 2001 12:42:30 -0800 (PST) Received: (from joerg@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBUKgUM24406; Sun, 30 Dec 2001 12:42:30 -0800 (PST) (envelope-from joerg) Message-Id: <200112302042.fBUKgUM24406@freefall.freebsd.org> From: Joerg Wunsch Date: Sun, 30 Dec 2001 12:42:30 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net if_sppp.h if_spppsubr.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG joerg 2001/12/30 12:42:30 PST Modified files: sys/net if_sppp.h if_spppsubr.c Log: Implement an option to administratively disable the negotiation of IPv6 on an sppp interface. In an IPv6-enabled kernel, every IPv6 interface automatically gets an IPv6 address assigned (and IPv6 multicast packets sent at initialization time). For sppp links where we know our remote peer wouldn't support IPv6 at all, there's no point in attempting to negotiate IPV6CP (or to even dial out for an IPv6 packet at all for dial-on-demand interfaces). I wish there were a more generic way to administratively disable IPv6 on an interface instead. ume told me there isn't. While i was at it, converted both, enable_vj and enable_ipv6 into flag bits in struct sppp (enable_vj used to be an int of its own). MFC after: 1 month Revision Changes Path 1.24 +10 -1 src/sys/net/if_sppp.h 1.91 +50 -7 src/sys/net/if_spppsubr.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message