Merge pull request #412 from dman776/info_lib_index_fix

bugfix: fix index error in aredn_info lib
This commit is contained in:
WU2S 2019-05-05 19:54:47 -04:00 committed by GitHub
commit 956639345f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
-------------------------------------