File tree Expand file tree Collapse file tree
rootfs_overlay/usr/lib/bridge-utils Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,16 +40,16 @@ if [ "$MODE" = "start" ] && [ ! -d /sys/class/net/$IFACE ]; then
4040 sleep 1
4141 ip link set dev $IFACE address $IF_BRIDGE_HW
4242 fi
43- # Activate VLAN filtering on VLAN aware bridges
44- if [ " $IF_BRIDGE_VLAN_AWARE " = " yes" ]; then
45- ip link set dev $IFACE type bridge vlan_filtering 1
46- else
47- ip link set dev $IFACE type bridge vlan_filtering 0
48- fi
43+ # Activate VLAN filtering on VLAN aware bridges
44+ if [ " $IF_BRIDGE_VLAN_AWARE " = " yes" ]; then
45+ ip link set dev $IFACE type bridge vlan_filtering 1
46+ else
47+ ip link set dev $IFACE type bridge vlan_filtering 0
48+ fi
4949# Wait for the ports to become available
5050 if [ " $IF_BRIDGE_WAITPORT " ]
5151 then
52- set x $IF_BRIDGE_WAITPORT &&
52+ set x $IF_BRIDGE_WAITPORT &&
5353 shift &&
5454 WAIT=" $1 " &&
5555 shift &&
You can’t perform that action at this time.
0 commit comments