summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_nat_edit.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-05-01 20:40:53 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-05-01 20:40:53 +0000
commit221c77a6c87f7f89940e0a9b84e4013a2fbc7998 (patch)
treec715d1309ed81a490d909b363532ffc85c6f3f13 /usr/local/www/firewall_nat_edit.php
parent7b77fa79dadddd8cdefd438e0e61277bb8ce6323 (diff)
downloadpfsense-221c77a6c87f7f89940e0a9b84e4013a2fbc7998.zip
pfsense-221c77a6c87f7f89940e0a9b84e4013a2fbc7998.tar.gz
Make field names in input validation consistent with the field names on the form. Our users are already confused enough to have this type of stuff going on.
Diffstat (limited to 'usr/local/www/firewall_nat_edit.php')
-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 626e8dd..6c5a43c 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,External begin port,External End port,NAT IP,Local port");
+ $reqdfieldsn = explode(",", "Interface,Protocol,External port from,External port to,NAT IP,Local port");
} else {
$reqdfields = explode(" ", "interface proto localip");
$reqdfieldsn = explode(",", "Interface,Protocol,NAT IP");
OpenPOWER on IntegriCloud