]> git.ipfire.org Git - people/dweismueller/ipfire-2.x.git/commitdiff
Captive-Portal: add logging to syslog
authorAlexander Marx <alexander.marx@ipfire.org>
Thu, 4 Feb 2016 07:10:11 +0000 (08:10 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 14 Dec 2016 13:02:25 +0000 (14:02 +0100)
Signed-off-by: Alexander Marx <alexander.marx@ipfire.org>
html/cgi-bin/logs.cgi/log.dat

index 138bf9b7f5c30ff25488b9aa6b5e1ceb1ef77f36..4531b8f31b35e4b9d5ccaafdaf17a13b27e13e77 100644 (file)
@@ -50,6 +50,7 @@ $cgiparams{'SECTION'} = 'ipfire';
 
 my %sections = (
         'auth' => '(\w+\(pam_unix\)\[.*\]: )',
+        'captive' => '(Captive:)',
         'clamav' => '(clamd\[.*\]: |freshclam\[.*\]: )',
         'collectd' => '(collectd\[.*\]: )',
         'cron' => '(fcron\[.*\]: )',
@@ -76,6 +77,7 @@ my %sections = (
 # Translations for the %sections array.
 my %trsections = (
         'auth' => "$Lang::tr{'loginlogout'}",
+        'captive' => $Lang::tr{'captive'},
         'clamav' => 'ClamAV',
         'collectd' => 'Collectd',
         'cron' => 'Cron',