diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2004-11-21 06:27:49 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2004-11-21 06:27:49 +0000 |
commit | 4d6b6263a6e209a5c43b320462ff41fe4c67d166 (patch) | |
tree | 346d20eaecc9161f2ac5feb3182f53fe225dac48 /usr/local/www | |
parent | 49d5428037c900cc160e838a8b4ad9c82c58bd35 (diff) | |
download | pfsense-4d6b6263a6e209a5c43b320462ff41fe4c67d166.zip pfsense-4d6b6263a6e209a5c43b320462ff41fe4c67d166.tar.gz |
Forgot to implement option 2 Ports
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/firewall_aliases_edit.php | 12 |
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; + } } |