aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/snort/snort_alerts.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/snort/snort_alerts.php b/config/snort/snort_alerts.php
index 73c67415..5a5ef744 100644
--- a/config/snort/snort_alerts.php
+++ b/config/snort/snort_alerts.php
@@ -183,6 +183,7 @@ if ($pconfig['arefresh'] == 'on')
<td>
<div id="mainarea">
<form action="/snort/snort_alerts.php" method="post" id="formalert">
+ <input type="hidden" name="instance" value="<?=$instanceid;?>">
<table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="22%" colspan="0" class="listtopic">Last <?=$anentries;?> Alert Entries.</td>
@@ -206,7 +207,7 @@ if ($pconfig['arefresh'] == 'on')
<td width="22%" class="vncell">Save or Remove Logs</td>
<td width="78%" class="vtable">
<input name="download" type="submit" class="formbtn" value="Download"> All
- log files will be saved. <a href="/snort/snort_alerts.php?action=clear">
+ log files will be saved. <a href="/snort/snort_alerts.php?action=clear&instance=<?=$instanceid;?>">
<input name="delete" type="button" class="formbtn" value="Clear"
onclick="return confirm('Do you really want to remove all instance logs?')"></a>
<span class="red"><strong>Warning:</strong></span> all log files will be deleted.