Error #468
Community name is not saved in ¿Natted? mode
Status:
Tancat
Priority:
Baixa
Assignee:
Category:
WEB interface
Target version:
Associated revisions
[qmp-system] Save community_name for all communities
The community_name option would only be saved if it wasn't set to "Guifi.net";
now it saves any community.
Fixes #468
Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
History
#1 Updated by Roger Pueyo Centelles over 2 years ago
- Status changed from Nou to Resolt
- % Done changed from 0 to 100
With the previous code:
local community_name = communityname:formvalue(section)
if community_name == "Guifi.net" then
local mesh_name = guifimeshname:formvalue(section)
local device_id = guifideviceid:formvalue(section)
uciout:set("qmp","node","mesh_name",mesh_name)
uciout:set("qmp","node","device_id",device_id)
else
uciout:set("qmp","node","community_name",community_name)
end
"community_name" would only be saved in easy setup when it was not set to Guifi.net
#2 Updated by Roger Pueyo Centelles over 2 years ago
- Status changed from Resolt to Tancat