]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Implement an option to administratively disable the negotiation of
authorJoerg Wunsch <joerg@FreeBSD.org>
Sun, 30 Dec 2001 20:42:29 +0000 (20:42 +0000)
committerJoerg Wunsch <joerg@FreeBSD.org>
Sun, 30 Dec 2001 20:42:29 +0000 (20:42 +0000)
commitee037f26bc5987618ce8c06d1c0f1872a91bb468
tree07bcd9f7764454c91bd188f8c248c39850b93a6f
parent3092f2e699e1ed275300fe19fddf156406173592
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
sys/net/if_sppp.h
sys/net/if_spppsubr.c