diff options
-rwxr-xr-x | network-scripts/ifup-eth | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/network-scripts/ifup-eth b/network-scripts/ifup-eth index b55db79e..68f8a0bf 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 |