public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] log.dat: Added 'squid' and 'snort', fix identation for clamav
@ 2016-05-21 12:31 Matthias Fischer
  2016-05-22 21:52 ` Michael Tremer
  0 siblings, 1 reply; 3+ messages in thread
From: Matthias Fischer @ 2016-05-21 12:31 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1483 bytes --]

Clamav: Fix identation

Added entries in dropdown for 'Squid' and 'Snort'.

Signed-off-by: Matthias Fischer <matthias.fischer(a)ipfire.org>
---
 html/cgi-bin/logs.cgi/log.dat | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/html/cgi-bin/logs.cgi/log.dat b/html/cgi-bin/logs.cgi/log.dat
index e8635d7..de5076f 100644
--- a/html/cgi-bin/logs.cgi/log.dat
+++ b/html/cgi-bin/logs.cgi/log.dat
@@ -65,7 +65,9 @@ my %sections = (
         'ipsec' => '(ipsec_[\w_]+: |pluto\[.*\]: |charon: |vpnwatch: )',
         'openvpn' => '(openvpnserver\[.*\]: |.*n2n\[.*\]: )',
         'pakfire' => '(pakfire:) ',
-        'wireless' => '(hostapd:|kernel: ath.*:|kernel: wifi[0-9]:) '
+        'wireless' => '(hostapd:|kernel: ath.*:|kernel: wifi[0-9]:) ',
+        'squid' => '(squid\[.*\]: |squid: )',
+        'snort' => '(snort\[.*\]: )'
 	 );
 
 # Translations for the %sections array.
@@ -78,7 +80,7 @@ my %trsections = (
         'dhcp' => "$Lang::tr{'dhcp server'}",
         'cron' => 'Cron',
         'collectd' => 'Collectd',
-				'clamav' => 'ClamAV',
+        'clamav' => 'ClamAV',
         'ntp' => 'NTP',
         'ssh' => 'SSH',
         'auth' => "$Lang::tr{'loginlogout'}",
@@ -86,7 +88,9 @@ my %trsections = (
         'ipsec' => 'IPSec',
         'openvpn' => 'OpenVPN',
         'pakfire' => 'Pakfire',
-        'wireless' => 'Wireless'
+        'wireless' => 'Wireless',
+        'squid' => 'Squid',
+        'snort' => 'Snort'
 	);
 
 
-- 
2.8.3


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-05-22 22:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-21 12:31 [PATCH] log.dat: Added 'squid' and 'snort', fix identation for clamav Matthias Fischer
2016-05-22 21:52 ` Michael Tremer
2016-05-22 22:56   ` Matthias Fischer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox