aboutsummaryrefslogtreecommitdiff
path: root/net/bridge.sh
diff options
context:
space:
mode:
Diffstat (limited to 'net/bridge.sh')
-rw-r--r--net/bridge.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/bridge.sh b/net/bridge.sh
index 4f3618aa..60d3eebc 100644
--- a/net/bridge.sh
+++ b/net/bridge.sh
@@ -119,10 +119,8 @@ bridge_pre_start()
return 1
fi
# The interface is known to exist now
- _set_flag promisc
_up
if ! brctl addif "${BR_IFACE}" "${x}"; then
- _set_flag -promisc
eend 1
return 1
fi
@@ -144,6 +142,7 @@ bridge_pre_start()
) || return 1
# Bring up the bridge
+ _set_flag promisc
_up
}