diff options
author | ume <ume@FreeBSD.org> | 2001-01-25 13:18:26 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2001-01-25 13:18:26 +0000 |
commit | 1019384e319fdb89ffc37ac19df0929c02c0629c (patch) | |
tree | 02d470ef1cd8d133a20e5fb5a54ecfaaa8ec16f0 /etc/rc.network6 | |
parent | cc0609f430e7daa4b50840ffa3c84a3929ac9f15 (diff) | |
download | FreeBSD-src-1019384e319fdb89ffc37ac19df0929c02c0629c.zip FreeBSD-src-1019384e319fdb89ffc37ac19df0929c02c0629c.tar.gz |
- Don't try to send RA to lo0, gifN and faithN.
- ipv6_network_interfaces has all available interfaces to work for
static configuration even if the host is end host. When rtsol is
invoked, singleness of interface is checked.
Diffstat (limited to 'etc/rc.network6')
-rw-r--r-- | etc/rc.network6 | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/etc/rc.network6 b/etc/rc.network6 index aa50306..6b4809f 100644 --- a/etc/rc.network6 +++ b/etc/rc.network6 @@ -91,24 +91,10 @@ network6_pass1() { case ${ipv6_network_interfaces} in [Aa][Uu][Tt][Oo]) - case ${ipv6_gateway_enable} in - [Yy][Ee][Ss]) - # - # list of interfaces, and prefix for interfaces - # - ipv6_network_interfaces="`ifconfig -l`" - ;; - *) - # - # manual configurations - in case ip6_gateway_enable=NO - # you can configure only single interface, - # as specification assumes that - # autoconfigured host has single interface only. - # - set `ifconfig -l` - ipv6_network_interfaces="$1" - ;; - esac + # + # list of interfaces, and prefix for interfaces + # + ipv6_network_interfaces="`ifconfig -l`" ;; esac @@ -211,7 +197,7 @@ network6_pass1() { '') for i in ${ipv6_network_interfaces}; do case $i in - stf*) + lo0|gif*|stf*|faith*) continue ;; *) |