]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit - html/cgi-bin/logs.cgi/log.dat
log.dat: Fix an error with 'unbound' logging too much data.
authorJon Murphy <jon.murphy@ipfire.org>
Fri, 17 Feb 2023 17:53:37 +0000 (11:53 -0600)
committerPeter Müller <peter.mueller@ipfire.org>
Sun, 5 Mar 2023 15:01:31 +0000 (15:01 +0000)
commit4bb389232ea4610feb20fa880ee39d9ad514c8af
tree299e97126a06eb179d8c814d0b73d811fa2759c3
parent3ad00458a5470ea32c436d2ff6c96e7dc9119734
log.dat: Fix an error with 'unbound' logging too much data.

- Make regex "non-greedy"
- grab data up to first occurance of "]" and not last occurance of "]"

Signed-off-by: Jon Murphy <jon.murphy@ipfire.org>
html/cgi-bin/logs.cgi/log.dat