summaryrefslogtreecommitdiffstats
path: root/src/lib/connections
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/connections')
-rw-r--r--src/lib/connections/bond1
-rw-r--r--src/lib/connections/bridge1
-rw-r--r--src/lib/connections/tunnel2
-rw-r--r--src/lib/connections/tuntap2
4 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/connections/bond b/src/lib/connections/bond
index 379e272..bd45b2f 100644
--- a/src/lib/connections/bond
+++ b/src/lib/connections/bond
@@ -3,6 +3,7 @@
. "$SUBR_DIR/ip"
: ${IFENSLAVE:=ifenslave}
+: ${BindsToInterfaces=}
bond_up() {
if is_interface "$Interface"; then
diff --git a/src/lib/connections/bridge b/src/lib/connections/bridge
index f33295d..11552ce 100644
--- a/src/lib/connections/bridge
+++ b/src/lib/connections/bridge
@@ -3,6 +3,7 @@
. "$SUBR_DIR/ip"
: ${BRCTL:=brctl}
+: ${BindsToInterfaces=}
bridge_up() {
if is_interface "$Interface"; then
diff --git a/src/lib/connections/tunnel b/src/lib/connections/tunnel
index f202371..76b6b5f 100644
--- a/src/lib/connections/tunnel
+++ b/src/lib/connections/tunnel
@@ -2,6 +2,8 @@
. "$SUBR_DIR/ip"
+: ${BindsToInterfaces=}
+
tunnel_up() {
if is_interface "$Interface"; then
report_error "Interface '$Interface' already exists"
diff --git a/src/lib/connections/tuntap b/src/lib/connections/tuntap
index 1ff5203..b0cfa7e 100644
--- a/src/lib/connections/tuntap
+++ b/src/lib/connections/tuntap
@@ -2,6 +2,8 @@
. "$SUBR_DIR/ip"
+: ${BindsToInterfaces=}
+
tuntap_up() {
if is_interface "$Interface"; then
report_error "Interface '$Interface' already exists"