diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/connections/bond | 2 | ||||
-rw-r--r-- | src/lib/connections/bridge | 6 | ||||
-rw-r--r-- | src/lib/connections/tunnel | 2 | ||||
-rw-r--r-- | src/lib/connections/tuntap | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/connections/bond b/src/lib/connections/bond index ea56f3b..af95753 100644 --- a/src/lib/connections/bond +++ b/src/lib/connections/bond @@ -3,7 +3,7 @@ . "$SUBR_DIR/ip" : ${IFENSLAVE:=ifenslave} -declare -a BindsToInterfaces +declare -ag BindsToInterfaces bond_up() { if is_interface "$Interface"; then 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 diff --git a/src/lib/connections/tunnel b/src/lib/connections/tunnel index 34882b2..a14f96e 100644 --- a/src/lib/connections/tunnel +++ b/src/lib/connections/tunnel @@ -2,7 +2,7 @@ . "$SUBR_DIR/ip" -declare -a BindsToInterfaces +declare -ag BindsToInterfaces tunnel_up() { if is_interface "$Interface"; then diff --git a/src/lib/connections/tuntap b/src/lib/connections/tuntap index 71a8259..149c842 100644 --- a/src/lib/connections/tuntap +++ b/src/lib/connections/tuntap @@ -2,7 +2,7 @@ . "$SUBR_DIR/ip" -declare -a BindsToInterfaces +declare -ag BindsToInterfaces tuntap_up() { if is_interface "$Interface"; then |