aboutsummaryrefslogtreecommitdiffstats
path: root/config/suricata/suricata_alerts.php
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-02-09 09:28:51 -0200
committerRenato Botelho <garga@FreeBSD.org>2015-02-09 09:28:51 -0200
commite8721f705ab1f80b0e1fe897f65b3941e071ebcf (patch)
tree46917a85e4e08fbd5702983ab7db6907be0b115d /config/suricata/suricata_alerts.php
parentda3cd59d595b075ff33901966065d62a213bae4c (diff)
parent2913f596fc1a87d20a8d2aac9e2eadfc5bc8787d (diff)
downloadpfsense-packages-e8721f705ab1f80b0e1fe897f65b3941e071ebcf.tar.gz
pfsense-packages-e8721f705ab1f80b0e1fe897f65b3941e071ebcf.tar.bz2
pfsense-packages-e8721f705ab1f80b0e1fe897f65b3941e071ebcf.zip
Merge pull request #810 from bmeeks8/suricata-2.0.6-v2.1.4
Diffstat (limited to 'config/suricata/suricata_alerts.php')
-rw-r--r--config/suricata/suricata_alerts.php13
1 files changed, 7 insertions, 6 deletions
diff --git a/config/suricata/suricata_alerts.php b/config/suricata/suricata_alerts.php
index f151e173..fa4fed5c 100644
--- a/config/suricata/suricata_alerts.php
+++ b/config/suricata/suricata_alerts.php
@@ -424,20 +424,21 @@ if ($pconfig['arefresh'] == 'on')
echo "<meta http-equiv=\"refresh\" content=\"60;url=/suricata/suricata_alerts.php?instance={$instanceid}\" />\n";
?>
+<form action="/suricata/suricata_alerts.php" method="post" id="formalert">
+<input type="hidden" name="sidid" id="sidid" value=""/>
+<input type="hidden" name="gen_id" id="gen_id" value=""/>
+<input type="hidden" name="ip" id="ip" value=""/>
+<input type="hidden" name="descr" id="descr" value=""/>
+
<?php
/* Display Alert message */
if ($input_errors) {
- print_input_errors($input_errors); // TODO: add checks
+ print_input_errors($input_errors);
}
if ($savemsg) {
print_info_box($savemsg);
}
?>
-<form action="/suricata/suricata_alerts.php" method="post" id="formalert">
-<input type="hidden" name="sidid" id="sidid" value=""/>
-<input type="hidden" name="gen_id" id="gen_id" value=""/>
-<input type="hidden" name="ip" id="ip" value=""/>
-<input type="hidden" name="descr" id="descr" value=""/>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody>