diff --git a/luci-app-status/luasrc/controller/status.lua b/luci-app-status/luasrc/controller/status.lua index 02cdbbebc..b1f3dab0a 100644 --- a/luci-app-status/luasrc/controller/status.lua +++ b/luci-app-status/luasrc/controller/status.lua @@ -43,7 +43,7 @@ function server_add() serversnb = serversnb + 1 end ucic:set("openmptcprouter",server,"disabled",openmptcprouter_vps_disabled) - ucic:set("openmptcprouter",server,"ip",server_ip) + ucic:set_list("openmptcprouter",server,"ip",server_ip) ucic:set("openmptcprouter",server,"port","65500") ucic:save("openmptcprouter") end diff --git a/luci-app-status/luasrc/view/status/server.htm b/luci-app-status/luasrc/view/status/server.htm index b7b367fce..a00832895 100644 --- a/luci-app-status/luasrc/view/status/server.htm +++ b/luci-app-status/luasrc/view/status/server.htm @@ -52,7 +52,7 @@