aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort/snort_interfaces_suppress_edit.php
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-07-09 23:10:54 +0000
committerErmal <eri@pfsense.org>2012-07-09 23:10:54 +0000
commitbfbab2aca5e5d5bd41589e78f7efcdd465093b7d (patch)
treecc89d73a3c9eaebf738f2e13f8d22c2221203dca /config/snort/snort_interfaces_suppress_edit.php
parent55286c130496f41de39496a475688abda13d7a29 (diff)
downloadpfsense-packages-bfbab2aca5e5d5bd41589e78f7efcdd465093b7d.tar.gz
pfsense-packages-bfbab2aca5e5d5bd41589e78f7efcdd465093b7d.tar.bz2
pfsense-packages-bfbab2aca5e5d5bd41589e78f7efcdd465093b7d.zip
Resolve issues reported here. http://forum.pfsense.org/index.php/topic,51295.0.html
Diffstat (limited to 'config/snort/snort_interfaces_suppress_edit.php')
-rw-r--r--config/snort/snort_interfaces_suppress_edit.php14
1 files changed, 8 insertions, 6 deletions
diff --git a/config/snort/snort_interfaces_suppress_edit.php b/config/snort/snort_interfaces_suppress_edit.php
index db2757a9..082911b0 100644
--- a/config/snort/snort_interfaces_suppress_edit.php
+++ b/config/snort/snort_interfaces_suppress_edit.php
@@ -47,8 +47,6 @@ $a_suppress = &$config['installedpackages']['snortglobal']['suppress']['item'];
$id = $_GET['id'];
if (isset($_POST['id']))
$id = $_POST['id'];
-if (!is_numeric($id))
- $id = 0; // XXX: safety belt
/* gen uuid for each iface */
@@ -158,7 +156,9 @@ include("fbegin.inc");
}
?>
-<form action="/snort/snort_interfaces_suppress_edit.php?id=<?=$id?>" name="iform" id="iform">
+<form action="/snort/snort_interfaces_suppress_edit.php" name="iform" id="iform" method="post">
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+<tr><td class="tabcont">
<table width="100%" border="0" cellpadding="6" cellspacing="0">
<tr>
<td colspan="2" class="listtopic">Add the name and description of the file.</td>
@@ -207,9 +207,9 @@ include("fbegin.inc");
count 100, seconds 1, new_action log, timeout 10</td>
</tr>
<tr>
- <td colspan="2" width="100%" class="vtable"><textarea wrap="off"
- name="suppresspassthru" cols="90" rows="28" id="suppresspassthru">
- <?=htmlspecialchars($pconfig['suppresspassthru']);?></textarea>
+ <td width="10%" class="vncell">&nbsp;Advanced pass through</td>
+ <td width="100%" class="vtable"><textarea wrap="off"
+ name="suppresspassthru" cols="90" rows="28" id="suppresspassthru" class="formpre"> <?=htmlspecialchars($pconfig['suppresspassthru']);?></textarea>
</td>
</tr>
<tr>
@@ -222,6 +222,8 @@ include("fbegin.inc");
</td>
</tr>
</table>
+</td></tr>
+</table>
</form>
<?php include("fend.inc"); ?>
<script type="text/javascript">