Date: Sun, 30 Dec 2001 12:42:30 -0800 (PST) From: Joerg Wunsch <joerg@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net if_sppp.h if_spppsubr.c Message-ID: <200112302042.fBUKgUM24406@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112302042.fBUKgUM24406>
