summaryrefslogtreecommitdiffstats
path: root/src/lib/connections
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/connections')
-rw-r--r--src/lib/connections/bond2
-rw-r--r--src/lib/connections/bridge2
-rw-r--r--src/lib/connections/tunnel2
-rw-r--r--src/lib/connections/tuntap2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/connections/bond b/src/lib/connections/bond
index 099e44c..ea56f3b 100644
--- a/src/lib/connections/bond
+++ b/src/lib/connections/bond
@@ -3,7 +3,7 @@
. "$SUBR_DIR/ip"
: ${IFENSLAVE:=ifenslave}
-: ${BindsToInterfaces=}
+declare -a BindsToInterfaces
bond_up() {
if is_interface "$Interface"; then
diff --git a/src/lib/connections/bridge b/src/lib/connections/bridge
index 5ad380d..56e2c84 100644
--- a/src/lib/connections/bridge
+++ b/src/lib/connections/bridge
@@ -3,7 +3,7 @@
. "$SUBR_DIR/ip"
: ${BRCTL:=brctl}
-: ${BindsToInterfaces=}
+declare -a BindsToInterfaces
bridge_up() {
if is_interface "$Interface"; then
diff --git a/src/lib/connections/tunnel b/src/lib/connections/tunnel
index fd8dee3..34882b2 100644
--- a/src/lib/connections/tunnel
+++ b/src/lib/connections/tunnel
@@ -2,7 +2,7 @@
. "$SUBR_DIR/ip"
-: ${BindsToInterfaces=}
+declare -a BindsToInterfaces
tunnel_up() {
if is_interface "$Interface"; then
diff --git a/src/lib/connections/tuntap b/src/lib/connections/tuntap
index d035262..71a8259 100644
--- a/src/lib/connections/tuntap
+++ b/src/lib/connections/tuntap
@@ -2,7 +2,7 @@
. "$SUBR_DIR/ip"
-: ${BindsToInterfaces=}
+declare -a BindsToInterfaces
tuntap_up() {
if is_interface "$Interface"; then