diff options
author | Ermal <eri@pfsense.org> | 2012-07-15 21:18:39 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-07-15 21:18:39 +0000 |
commit | c4c3fd3d5bf088ccd47c1f3af1ea7818c3ca2270 (patch) | |
tree | 4afa1519a4a69bbd76f7a95b4e82da598c0050a2 /config/snort | |
parent | a15664ad7508450ae5709462cefafb7bb107c159 (diff) | |
download | pfsense-packages-c4c3fd3d5bf088ccd47c1f3af1ea7818c3ca2270.tar.gz pfsense-packages-c4c3fd3d5bf088ccd47c1f3af1ea7818c3ca2270.tar.bz2 pfsense-packages-c4c3fd3d5bf088ccd47c1f3af1ea7818c3ca2270.zip |
Fix clearing alert logs for other instances
Diffstat (limited to 'config/snort')
-rw-r--r-- | config/snort/snort_alerts.php | 3 |
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. |