diff options
author | ume <ume@FreeBSD.org> | 2003-08-08 17:43:58 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2003-08-08 17:43:58 +0000 |
commit | b75b5bf07af92fab491771b12c2f4d766d519a6b (patch) | |
tree | 774a160027b72213d81ab948f5202b2a7f3b0964 | |
parent | 3d798f6505784d7e1831a70a4184f2a665ca047f (diff) | |
download | FreeBSD-src-b75b5bf07af92fab491771b12c2f4d766d519a6b.zip FreeBSD-src-b75b5bf07af92fab491771b12c2f4d766d519a6b.tar.gz |
add rtsol_flags.
MFC after: 1 week
-rw-r--r-- | etc/defaults/rc.conf | 1 | ||||
-rw-r--r-- | etc/network.subr | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf index 8a6b789..4be7226 100644 --- a/etc/defaults/rc.conf +++ b/etc/defaults/rc.conf @@ -282,6 +282,7 @@ ipv6_router_flags="" # Flags to IPv6 routing daemon. ipv6_default_interface="NO" # Default output interface for scoped addrs. # Now this works only for IPv6 link local # multicast addrs. +rtsol_flags="" # Flags to IPv6 router solicitation. rtadvd_enable="NO" # Set to YES to enable an IPv6 router # advertisement daemon. If set to YES, # this router becomes a possible candidate diff --git a/etc/network.subr b/etc/network.subr index d951224..7b7c652 100644 --- a/etc/network.subr +++ b/etc/network.subr @@ -407,7 +407,7 @@ network6_interface_setup() sysctl net.inet6.ip6.accept_rtadv=1 set ${rtsol_interfaces} ifconfig $1 up - rtsol $1 + rtsol ${rtsol_flags} $1 fi for i in $interfaces; do |