]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
WUI log-section Mail: bugfix for dma
authorAlex Koch <ipfire@starkstromkonsument.de>
Sat, 31 Aug 2019 18:52:59 +0000 (20:52 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 11 Sep 2019 16:49:45 +0000 (16:49 +0000)
The prefix for dmi in /var/log/mail seems to have changed from "dma[<PID>]: " to "dma: ". This results in a bug where no lines are being shown at all in the WUI.

Signed-off-by: Alex Koch <ipfire@starkstromkonsument.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
html/cgi-bin/logs.cgi/log.dat

index 3548d5810a945724a6abff4749de0ac445f7f32e..7074a4a612dbcf0f3c57e0e6285edbbd0dc44f88 100644 (file)
@@ -57,7 +57,7 @@ my %sections = (
         'cron' => '(fcron\[.*\]: )',
         'ddns' => '(ddns\[\d+\]:)',
         'dhcp' => '(dhcpd: )',
-        'dma' => '(dma\[.*\]: )',
+        'dma' => '(dma: |dma\[.*\]: )',
         'guardian' => '(guardian\[.*\]: )',
         'ipfire' => '(ipfire: )',
         'ipsec' => '(ipsec_[\w_]+: |pluto\[.*\]: |charon: |vpnwatch: )',