Developing lightweight computation at the DSG edge

Commit d1ead765 authored by p4u's avatar p4u
Browse files

Fixed to small issues: netserver and wizard node name

parent 2dec8bc2
......@@ -61,9 +61,9 @@ eth_section:option(Value, "olsr6_ripe_prefix48", "IPv6 prefix for OLSR","IPv6 pr
-- Option: netserver
nts = eth_section:option(ListValue, "netserver", "Permit bandwidth test","If enabled the rest of nodes will be able to do bandwidth tests with your node")
nts:value("1","no")
nts:value("0","yes")
nts = eth_section:option(ListValue, "netserver", "Permit bandwidth test","If enabled all nodes will be able to perform bandwidth tests with your node")
nts:value("0","no")
nts:value("1","yes")
-- Option force_internet
fint = eth_section:option(ListValue, "force_internet", "Force internet","Just use it if you want force the system to share/unshare internet")
......
......@@ -97,6 +97,7 @@ function netmode.write(self, section, value)
uciout:set("qmp","networks","lan_address",nodeip)
uciout:set("qmp","networks","bmx6_ipv4_address",nodeip)
uciout:set("qmp","networks","lan_netmask",nodemask)
uciout:set("qmp","node","community_id",name)
else
uciout:set("qmp","non_overlapping","ignore","0")
......
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