summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2004-11-21 06:27:49 +0000
committerScott Ullrich <sullrich@pfsense.org>2004-11-21 06:27:49 +0000
commit4d6b6263a6e209a5c43b320462ff41fe4c67d166 (patch)
tree346d20eaecc9161f2ac5feb3182f53fe225dac48 /usr/local/www
parent49d5428037c900cc160e838a8b4ad9c82c58bd35 (diff)
downloadpfsense-4d6b6263a6e209a5c43b320462ff41fe4c67d166.zip
pfsense-4d6b6263a6e209a5c43b320462ff41fe4c67d166.tar.gz
Forgot to implement option 2 Ports
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/firewall_aliases_edit.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/usr/local/www/firewall_aliases_edit.php b/usr/local/www/firewall_aliases_edit.php
index 4219d37..ec08e03 100755
--- a/usr/local/www/firewall_aliases_edit.php
+++ b/usr/local/www/firewall_aliases_edit.php
@@ -162,6 +162,18 @@ function typesel_change() {
eval(comd);
}
break;
+ case 2: /* port */
+ var cmd;
+ document.iform.address_subnet.disabled = 0;
+ newrows = totalrows+1;
+ for(i=2; i<newrows; i++) {
+ comd = 'document.iform.address_subnet' + i + '.disabled = 1;';
+ eval(comd);
+ comd = 'document.iform.address_subnet' + i + '.value = "32";';
+ eval(comd);
+ }
+ break;
+
}
}
OpenPOWER on IntegriCloud