WAN Mode Page to configure this page." end if (ButtonType and ButtonType == "config") then local inputTable = web.cgiToLuaTable(cgi) if (inputTable["siitTbl.ipAddr1"] ~= nil) then inputTable["siitTbl.ipAddr"] = util.joinFields (inputTable, "siitTbl", "ipAddr", ".", 4) else inputTable["siitTbl.ipAddr"] = '' end errorFlag, statusCode = siitView.siitConfigSet (inputTable, "1", "edit"); -- save db if no error if (errorFlag == "OK") then db.save() end statusMessage = db.getAttribute("stringsMap", "stringId", statusCode, LANGUAGE) web.goToPage (NextPage, true, true) else configRow = db.getRow("siitTbl", "_ROWID_", "1") local ipAddr = {} if (configRow["siitTbl.ipAddr"] ~= nil) then ipAddr = util.split (configRow["siitTbl.ipAddr"], '.') end ?>