mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-04-28 19:02:15 +00:00
ifupdown1: bridgevlan: add bridge-vids list support
like ifupdown2, support multiple values iface vmbr0 bridge-vids 2 4 5-10 70 Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
parent
6b6cd0e496
commit
311b67c75c
@ -41,7 +41,10 @@ do
|
|||||||
# 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
|
||||||
bridge vlan add dev $port vid $IF_BRIDGE_VIDS
|
for VID in $IF_BRIDGE_VIDS
|
||||||
|
do
|
||||||
|
bridge vlan add dev $port vid $VID
|
||||||
|
done
|
||||||
else
|
else
|
||||||
bridge vlan add dev $port vid 2-4094
|
bridge vlan add dev $port vid 2-4094
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user