summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_nat_out_edit.php
diff options
context:
space:
mode:
authorErik Fonnesbeck <efonnes@gmail.com>2010-10-13 20:12:23 -0600
committerErik Fonnesbeck <efonnes@gmail.com>2010-10-13 20:12:23 -0600
commitc3f36fb53d7fca4873e1317d9e171bebb3577436 (patch)
tree4864433eba55a1cdbdd9fcc863fe89e713cb413d /usr/local/www/firewall_nat_out_edit.php
parentda6155e004d3aff23e51f2d27f40827e4ac7b833 (diff)
downloadpfsense-c3f36fb53d7fca4873e1317d9e171bebb3577436.zip
pfsense-c3f36fb53d7fca4873e1317d9e171bebb3577436.tar.gz
Don't clear the source port when changing source address type to any. Also update source when editing a rule with source type any.
Diffstat (limited to 'usr/local/www/firewall_nat_out_edit.php')
-rwxr-xr-xusr/local/www/firewall_nat_out_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/firewall_nat_out_edit.php b/usr/local/www/firewall_nat_out_edit.php
index 6b41ceb..2a492cd 100755
--- a/usr/local/www/firewall_nat_out_edit.php
+++ b/usr/local/www/firewall_nat_out_edit.php
@@ -287,7 +287,6 @@ function sourcesel_change() {
break;
default:
document.iform.source.value = "";
- document.iform.sourceport.value = "";
document.iform.source.disabled = 1;
document.iform.source_subnet.value = "24";
document.iform.source_subnet.disabled = 1;
@@ -512,6 +511,7 @@ any)");?></td>
</form>
<script language="JavaScript">
<!--
+sourcesel_change();
typesel_change();
staticportchange();
//-->
OpenPOWER on IntegriCloud