aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-08-02 22:34:47 +0000
committerErmal <eri@pfsense.org>2011-08-02 22:34:47 +0000
commit91bbef635a549260d2e65c2d0e0411daa5734ae5 (patch)
tree3dd4ae6263272148f28ac368057d8bcc0d430cb4
parent67381d7aaf169ea76a903e03f5f5676db4d74b4c (diff)
downloadpfsense-packages-91bbef635a549260d2e65c2d0e0411daa5734ae5.tar.gz
pfsense-packages-91bbef635a549260d2e65c2d0e0411daa5734ae5.tar.bz2
pfsense-packages-91bbef635a549260d2e65c2d0e0411daa5734ae5.zip
Remove uneeded code
-rw-r--r--config/snort/snort_interfaces_edit.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/config/snort/snort_interfaces_edit.php b/config/snort/snort_interfaces_edit.php
index cea03ca9..a67ba2ac 100644
--- a/config/snort/snort_interfaces_edit.php
+++ b/config/snort/snort_interfaces_edit.php
@@ -496,10 +496,7 @@ function enable_change(enable_change) {
<option value="<?=$iface;?>"
<?php if ($iface == $pconfig['interface']) echo "selected"; ?>><?=htmlspecialchars($ifacename);?>
</option>
- <?php endforeach;
- if ($pconfig['enable'] == "on" && !empty($pconfig['interface']))
- echo "<input type='hidden' name='interface' id='interface' value='{$pconfig['interface']}'/>\n";
- ?>
+ <?php endforeach; ?>
</select><br>
<span class="vexpl">Choose which interface this rule applies to.<br>
Hint: in most cases, you'll want to use WAN here.</span></td>