summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-05-01 20:36:33 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-05-01 20:36:33 +0000
commit7b77fa79dadddd8cdefd438e0e61277bb8ce6323 (patch)
tree4604dfff0efd04125fb4398fe6c2cc954e43c12c /usr/local
parentf323d19b18f1999de4d6011a17ee28cc7b8f881a (diff)
downloadpfsense-7b77fa79dadddd8cdefd438e0e61277bb8ce6323.zip
pfsense-7b77fa79dadddd8cdefd438e0e61277bb8ce6323.tar.gz
Return correct field for input validation for nat ip
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/firewall_nat_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/firewall_nat_edit.php b/usr/local/www/firewall_nat_edit.php
index 0496c02..626e8dd 100755
--- a/usr/local/www/firewall_nat_edit.php
+++ b/usr/local/www/firewall_nat_edit.php
@@ -85,7 +85,7 @@ if ($_POST) {
/* input validation */
if(strtoupper($_POST['proto']) == "TCP" or strtoupper($_POST['proto']) == "UDP" or strtoupper($_POST['proto']) == "TCP/UDP") {
$reqdfields = explode(" ", "interface proto beginport localip localbeginport");
- $reqdfieldsn = explode(",", "Interface,Protocol,Ext. start port,NAT IP,Local port");
+ $reqdfieldsn = explode(",", "Interface,Protocol,External begin port,External End port,NAT IP,Local port");
} else {
$reqdfields = explode(" ", "interface proto localip");
$reqdfieldsn = explode(",", "Interface,Protocol,NAT IP");
OpenPOWER on IntegriCloud