summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-07-08 19:14:48 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-07-08 19:14:48 +0000
commitcbff71a1e126e267bafa611a95ddc94c4fce11d7 (patch)
treef69be7995aa92d144641e4c290b3728339066173 /usr/local
parentec0249eccb1a785d3ba3eb1e6e54252a988723a1 (diff)
downloadpfsense-cbff71a1e126e267bafa611a95ddc94c4fce11d7.zip
pfsense-cbff71a1e126e267bafa611a95ddc94c4fce11d7.tar.gz
Add entries for optional interfaces ip address
Ticket #1041
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/firewall_rules_edit.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php
index ec1e8d5..5d781e3 100755
--- a/usr/local/www/firewall_rules_edit.php
+++ b/usr/local/www/firewall_rules_edit.php
@@ -567,6 +567,9 @@ include("head.inc");
<option value="pppoe" <?php if ($pconfig['dst'] == "pppoe") { echo "selected"; } ?>>PPPoE clients</option>
<?php for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++): ?>
<option value="opt<?=$i;?>" <?php if ($pconfig['dst'] == "opt" . $i) { echo "selected"; } ?>><?=htmlspecialchars($config['interfaces']['opt' . $i]['descr']);?> subnet</option>
+ <option value="opt<?=$i;?>ip"<?php if ($pconfig['src'] == "opt" . $i . "ip") { echo "selected"; } ?>>
+ <?=$config['interfaces']['opt' . $i]['descr']?> address
+ </option>
<?php endfor; ?>
</select>
</td>
OpenPOWER on IntegriCloud