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
|
||||
if [ -n "$IF_BRIDGE_VIDS" ]
|
||||
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
|
||||
bridge vlan add dev $port vid 2-4094
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user