Developing lightweight computation at the DSG edge

Commit 3dac3ef7 authored by Roger Pueyo Centelles's avatar Roger Pueyo Centelles
Browse files

[qmp-system] Fix wrong addition of wireless interfaces to br-lan



Fixes #462
Signed-off-by: default avatarRoger Pueyo Centelles <roger.pueyo@guifi.net>
parent 82edf79e
......@@ -306,8 +306,12 @@ qmp_configure_lan() {
# Attaching LAN devices to br-lan
local device
for device in $(qmp_get_devices lan) ; do
qmp_attach_device_to_interface $device lan
qmp_set_mss_clamping_and_masq $device remove
# Do not attach to br-lan wireless devices, they do it themselves
# somewhere else via /etc/config/wireless
if ! qmp_is_in "$device" $(qmp_get_wifi_devices); then
qmp_attach_device_to_interface $device lan
qmp_set_mss_clamping_and_masq $device remove
fi
done
}
......
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