diff --git a/files/www/alert-circle-outline.png b/files/www/alert-circle-outline.png new file mode 100644 index 00000000..87b2d1ab Binary files /dev/null and b/files/www/alert-circle-outline.png differ diff --git a/files/www/cgi-bin/ports b/files/www/cgi-bin/ports index 0324f8cd..ac132ca4 100755 --- a/files/www/cgi-bin/ports +++ b/files/www/cgi-bin/ports @@ -360,7 +360,7 @@ if f then break end end - + if val == "_add" and parms.button_save then porterr(val .. " this rule must be added or cleared out before saving changes") break @@ -401,7 +401,7 @@ if f then end f:write(_intf .. ":" .. _type .. ":" .. _out .. ":" .. _ip .. ":" .. _in .. ":" .. _enable .. "\n") - + for _, var in ipairs(vars) do parms["port" .. port_num .. var] = _G[var] @@ -829,7 +829,7 @@ if parms.button_save and not (#port_err > 0 or #dhcp_err > 0 or #dmz_err > 0 or filecopy(tmpdir .. "/dhcp", dhcpfile) filecopy(tmpdir .. "/services", servfile) filecopy(tmpdir .. "/aliases", aliasfile) - + if os.execute("/usr/local/bin/node-setup -a -p mesh") ~= 0 then err("problem with configuration") end @@ -891,7 +891,7 @@ function print_reservations() html.print("
DHCP Address Reservations | ||||
---|---|---|---|---|
Hostname | IP Address | MAC Address | ") - + if dmz_mode ~= 0 then html.print("Do Not Propagate |
") if dmz_mode ~= 0 then |