Developing lightweight computation at the DSG edge

Commit 45a9225f authored by Roger Pueyo Centelles's avatar Roger Pueyo Centelles
Browse files

[qmp-system] Properly manage interfaces in LAN with no mesh VLAN tagging

Fixes #452
Signed-off-by: default avatarRoger Pueyo Centelles <>
parent 825c2d3d
...@@ -851,6 +851,11 @@ fi ...@@ -851,6 +851,11 @@ fi
local ifname="$dev" local ifname="$dev"
fi fi
# If the interface is in the LAN bridge (br-lan) and does not use VLANed mesh, add the bridge instead
if [ $(qmp_get_virtual_iface $dev) == "lan" ] && [ $use_vlan == "0" ]; then
uci set $conf.mesh_$counter="dev" uci set $conf.mesh_$counter="dev"
uci set $conf.mesh_$"$ifname" uci set $conf.mesh_$"$ifname"
if [ -e "/sys/class/net/$dev/phy80211" ]; then if [ -e "/sys/class/net/$dev/phy80211" ]; then
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment