bridge: STP option for iproute2 has to be 0 or 1.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
This commit is contained in:
parent
ab7b1f5d24
commit
fb1d3181fe
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ set_bridge_opts_iproute2() {
|
||||||
[ -n "$IF_BRIDGE_PORTPRIO" ] \
|
[ -n "$IF_BRIDGE_PORTPRIO" ] \
|
||||||
&& bridge link set dev $IFACE priority $IF_BRIDGE_PORTPRIO
|
&& bridge link set dev $IFACE priority $IF_BRIDGE_PORTPRIO
|
||||||
[ -n "$IF_BRIDGE_STP" ] \
|
[ -n "$IF_BRIDGE_STP" ] \
|
||||||
&& ip link set dev $IFACE type bridge stp $IF_BRIDGE_STP
|
&& ip link set dev $IFACE type bridge stp $(yesno $IF_BRIDGE_STP)
|
||||||
[ -n "$IF_BRIDGE_VLAN_AWARE" ] \
|
[ -n "$IF_BRIDGE_VLAN_AWARE" ] \
|
||||||
&& ip link set dev $IFACE type bridge vlan_filtering $(yesno $IF_BRIDGE_VLAN_AWARE)
|
&& ip link set dev $IFACE type bridge vlan_filtering $(yesno $IF_BRIDGE_VLAN_AWARE)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue