diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-05-01 20:40:53 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-05-01 20:40:53 +0000 |
commit | 221c77a6c87f7f89940e0a9b84e4013a2fbc7998 (patch) | |
tree | c715d1309ed81a490d909b363532ffc85c6f3f13 /usr/local/www/firewall_nat_edit.php | |
parent | 7b77fa79dadddd8cdefd438e0e61277bb8ce6323 (diff) | |
download | pfsense-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-x | usr/local/www/firewall_nat_edit.php | 2 |
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"); |