mirror of https://github.com/aredn/aredn.git
bugfix: fix index error in aredn_info lib [0] not [1]
This commit is contained in:
parent
e15021dc66
commit
6469c58fbf
|
@ -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
|
||||
|
||||
-------------------------------------
|
||||
|
|
Loading…
Reference in New Issue