diff options
Diffstat (limited to 'rc.inet1')
-rw-r--r-- | rc.inet1 | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -286,14 +286,14 @@ if_down() { if [ -x /etc/rc.d/rc.wireless ]; then . /etc/rc.d/rc.wireless ${1} stop # Kill wireless daemons if any. fi + # Flush the address from the interface: + ip address flush dev ${1} # Set interface v6 autoconf back to the default (disabled): echo "0" >/proc/sys/net/ipv6/conf/$1/autoconf # If the interface is a bridge, then destroy it now: if [ -n "${BRNICS[$i]}" ]; then br_close $i fi - # Flush the address from the interface: - ip address flush dev ${1} fi } |