mirror of https://github.com/aredn/aredn.git
cleanup: remove the `meshmap=1` option from sysinfo.json. (#454)
It is no longer needed and never actually was. You learn something new every day. :) Every bit saved is a bit earned for somethnig else.
This commit is contained in:
parent
7f4bf75d78
commit
6e199947ff
|
@ -167,12 +167,6 @@ if string.find(nixio.getenv("QUERY_STRING"):lower(),"link_info=1") then
|
||||||
info['link_info']=aredn_olsr.getCurrentNeighbors(true)
|
info['link_info']=aredn_olsr.getCurrentNeighbors(true)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- MESHMAP INFO
|
|
||||||
if string.find(nixio.getenv("QUERY_STRING"):lower(),"meshmap=1") then
|
|
||||||
info['services_local']=aredn_info.local_services()
|
|
||||||
info['link_info']=aredn_olsr.getCurrentNeighbors(true)
|
|
||||||
end
|
|
||||||
|
|
||||||
-- Output the HTTP header for JSON
|
-- Output the HTTP header for JSON
|
||||||
json_header()
|
json_header()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue