summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2003-08-08 17:43:58 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2003-08-08 17:43:58 +0000
commitc8d9e00acaef7ce9f5fdabd600cc8b8666d233ef (patch)
tree774a160027b72213d81ab948f5202b2a7f3b0964
parenta3c75939e8a509899f7e72650c02c95a48e56c80 (diff)
Notes
-rw-r--r--etc/defaults/rc.conf1
-rw-r--r--etc/network.subr2
2 files changed, 2 insertions, 1 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf
index 8a6b789c8edb..4be722667a17 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 d9512246ba8d..7b7c6527a0c1 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