diff options
Diffstat (limited to 'src/lib/connections/bridge')
-rw-r--r-- | src/lib/connections/bridge | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/connections/bridge b/src/lib/connections/bridge index 56e2c84..94a9b64 100644 --- a/src/lib/connections/bridge +++ b/src/lib/connections/bridge @@ -3,7 +3,7 @@ . "$SUBR_DIR/ip" : ${BRCTL:=brctl} -declare -a BindsToInterfaces +declare -ag BindsToInterfaces bridge_up() { if is_interface "$Interface"; then @@ -30,8 +30,8 @@ bridge_up() { bridge_down() { for member in "${BindsToInterfaces[@]}"; do - ip link set "$member" promisc off down - $BRCTL delif "$Interface" "$member" + ip link set "$member" promisc off down + $BRCTL delif "$Interface" "$member" done ip_unset |