Commit 8516d956 authored by Dietmar Maurer's avatar Dietmar Maurer

bridgevlan: cleanup, remove useless case statement

parent 2dd073a5
...@@ -38,17 +38,13 @@ do ...@@ -38,17 +38,13 @@ do
for port in $i for port in $i
do do
if [ "$MODE" = "start" ] && [ -d /sys/class/net/$IFACE/brif/$port ]; then if [ "$MODE" = "start" ] && [ -d /sys/class/net/$IFACE/brif/$port ]; then
case "$port" in # we allow vlan to pass through attached interface
*) if [ -n "$IF_BRIDGE_VIDS" ]
# we allow vlan to pass through attached interface then
if [ -n "$IF_BRIDGE_VIDS" ]
then
bridge vlan add dev $port vid $IF_BRIDGE_VIDS bridge vlan add dev $port vid $IF_BRIDGE_VIDS
else else
bridge vlan add dev $port vid 2-4094 bridge vlan add dev $port vid 2-4094
fi fi
;;
esac
fi fi
done done
done done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment