diff options
Diffstat (limited to 'rc.inet1')
-rw-r--r-- | rc.inet1 | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -145,10 +145,8 @@ br_open() { debug_log "/sbin/ip link add name ${IFNAME[$1]} type bridge" /sbin/ip link add name ${IFNAME[$1]} type bridge for BRIF in ${BRNICS[$1]}; do - debug_log "/sbin/ip link set dev $BRIF down" - /sbin/ip link set dev $BRIF down - debug_log "/sbin/ip address add 0.0.0.0 dev $BRIF" - /sbin/ip address add 0.0.0.0 dev $BRIF + debug_log "/sbin/ip address flush dev $BRIF" + /sbin/ip address flush dev $BRIF debug_log "/sbin/ip link set dev $BRIF master ${IFNAME[$1]}" /sbin/ip link set dev $BRIF master ${IFNAME[$1]} debug_log "/sbin/ip link set dev $BRIF up" |