Developing lightweight computation at the DSG edge

Commit 21658de0 authored by Roger Pueyo Centelles's avatar Roger Pueyo Centelles
Browse files

[qmp-system] Skip unneeded check to set networkmode="community"



It doesn't seem this check makes sense, so removing it.

Fixes issue #465
Signed-off-by: default avatarRoger Pueyo Centelles <roger.pueyo@guifi.net>
parent 630bd7a8
......@@ -126,9 +126,10 @@ if uciout:get("qmp","roaming","ignore") == "1" then
if ipv4mask ~= nil then
ipv4 = string.sub(ipv4,1,ipv4mask-1)
end
if ipv4 == uciout:get("qmp","networks","lan_address") then
-- This caused issue #465 and doesn't make much sense here... (ToDo: investigate further)
-- if ipv4 == uciout:get("qmp","networks","lan_address") then
networkmode="community"
end
-- end
else
networkmode="roaming"
end
......
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