mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-04-29 02:41:04 +00:00
bridgevlan: cleanup, remove useless case statement
This commit is contained in:
parent
755325b02c
commit
804e0e388e
@ -38,8 +38,6 @@ 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
|
# we allow vlan to pass through attached interface
|
||||||
if [ -n "$IF_BRIDGE_VIDS" ]
|
if [ -n "$IF_BRIDGE_VIDS" ]
|
||||||
then
|
then
|
||||||
@ -47,8 +45,6 @@ do
|
|||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user