aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xnetwork-scripts/ifup-eth2
1 files changed, 1 insertions, 1 deletions
diff --git a/network-scripts/ifup-eth b/network-scripts/ifup-eth
index 9448eae7..b559b5c4 100755
--- a/network-scripts/ifup-eth
+++ b/network-scripts/ifup-eth
@@ -59,7 +59,7 @@ if [ "${TYPE}" = "Bridge" ]; then
if [ ! -d /sys/class/net/${DEVICE}/bridge ]; then
ip link add ${DEVICE} type bridge $bridge_opts || exit 1
- elif [ -n "${OPTS}" ]; then
+ elif [ -n "${bridge_opts}" ]; then
ip link set ${DEVICE} type bridge $bridge_opts || exit 1
fi
unset bridge_opts