summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-08-21 20:25:23 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-08-21 20:25:23 +0000
commit92442757dd0e12e593a5723787fa976735547335 (patch)
treec3db531dafd21608fc6c34ade9ae4c10d9a4cf63
parent6f9061f8436a4c5c5b4769713465576c5e2840a7 (diff)
downloadpfsense-92442757dd0e12e593a5723787fa976735547335.zip
pfsense-92442757dd0e12e593a5723787fa976735547335.tar.gz
Correct error message field names
Ticket #1084
-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 8f9e330..0f1ecc4 100755
--- a/usr/local/www/firewall_nat_edit.php
+++ b/usr/local/www/firewall_nat_edit.php
@@ -84,7 +84,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");
+ $reqdfields = explode(" ", "interface proto beginport endport localip localbeginport");
$reqdfieldsn = explode(",", "Interface,Protocol,External port from,External port to,NAT IP,Local port");
} else {
$reqdfields = explode(" ", "interface proto localip");
OpenPOWER on IntegriCloud