Skip to content

Commit

Permalink
Add nedge nat parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
emanuele-f committed Sep 18, 2018
1 parent 675f45a commit 99ee796
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/locales/en.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1848,6 +1848,8 @@ local lang = {
["edit_users"] = "Edit Users",
["enable_interface"] = "Enable Interface",
["enable_interface_descr"] = "Enable or disable the network interface.",
["enable_nat"] = "Enable NAT",
["enable_nat_descr"] = "If enabled, the clients IP addresses will be maqueraded with the IP address of the WAN interface.",
["enforce_global_dns"] = "Enforce Global DNS",
["enforce_global_dns_description"] = "Enable DNS forging to force the devices to use the specified global DNS.",
["factory_reset"] = "Factory Reset",
Expand Down
1 change: 1 addition & 0 deletions scripts/lua/modules/http_lint.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1275,6 +1275,7 @@ local special_parameters = { --[[Suffix validator]] --[[Value Validator]]
["iface_on_"] = {validateNetworkInterface, validateBool},
["iface_gw_"] = {validateNetworkInterface, validateIPV4},
["iface_netmask_"] = {validateNetworkInterface, validateIPV4},
["iface_nat_"] = {validateNetworkInterface, validateBool},
["iface_id_"] = {validateNumber, validateNetworkInterface},
["iface_up_"] = {validateNumber, validateNumber},
["iface_down_"] = {validateNumber, validateNumber},
Expand Down

0 comments on commit 99ee796

Please sign in to comment.