forked from freifunk-franken/firmware
fff-network: Add temporary workaround for dsa bridge configuration
If the bridge created for DSA devices is configured without any members, a single netifd reload is currently not sufficient to correctly apply network settings. This is due to a bug in netifd (FS#4104). Temporarily add a simple workaround by always configuring the bridge, even if it does not have any member ports. Signed-off-by: Fabian Bläse <fabian@blaese.de>
This commit is contained in:
parent
0a790b13bf
commit
86e00e535c
|
@ -117,6 +117,8 @@ else
|
|||
uci set network.$SWITCHDEV=device
|
||||
uci set network.$SWITCHDEV.name=$SWITCHDEV
|
||||
uci set network.$SWITCHDEV.type=bridge
|
||||
# temporary workaround for netifd bug present in OpenWrt 21.02.0 (FS#4104)
|
||||
uci set network.$SWITCHDEV.bridge_empty='1'
|
||||
|
||||
uci set network.${SWITCHDEV}_1=bridge-vlan
|
||||
uci set network.${SWITCHDEV}_1.device=$SWITCHDEV
|
||||
|
|
Loading…
Reference in New Issue