= tonumber (maxLimitVal)) then statusMessage = "Can't add configuration to this table. Maximum limit reached." NextPage = "services" else errorFlag, statusCode = fwView.serviceConfig(inputTable, RowId, "add") -- save db if no error if (errorFlag == "OK") then db.save() end statusMessage = db.getAttribute("stringsMap", "stringId", statusCode, LANGUAGE) end end end end web.goToPage(NextPage, true, true) elseif (ButtonType and ButtonType == "edit") then configRowId = RowId web.goToPage(NextPage, true, true) elseif (ButtonType and ButtonType == "delete") then local inputTable = web.cgiToLuaTable(cgi) local field, splitted, rows = web.cgiSearch(cgi, "ServicesChk") -- if any rows to delete if (rows) then errorFlag, statusCode = fwView.deleteServices (rows) end -- 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 ?> $|COMPANY_NAME|$ $|PRODUCT_FAMILY|$ - Services
 
Services
 
IPv6
IPv4
 
 
$| statusMessage|$
Custom Services Table
  # Name Type Start Port Finish Port Action
$| row["Services._ROWID_"] |$ $| row["Services.ServiceName"] |$ $| type |$ $| destPortStart or '' |$ $| destPortEnd or '' |$
Add Custom Service:
Name Type ICMP Type Start Port Finish Port Add