bugfix: fix index error in aredn_info lib [0] not [1]

This commit is contained in:
Darryl Quinn 2019-05-05 17:14:21 -05:00
parent e15021dc66
commit 6469c58fbf
1 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ end
-------------------------------------
function model.getNodeName()
css=aredn_uci.getUciConfType("system", "system")
return css[0]['hostname']
return css[1]['hostname']
end
-------------------------------------
@ -75,7 +75,7 @@ end
-------------------------------------
function model.getNodeDescription()
css=aredn_uci.getUciConfType("system", "system")
return css[0]['description']
return css[1]['description']
end
-------------------------------------