From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter =?utf-8?q?M=C3=BCller?= To: development@lists.ipfire.org Subject: [PATCH] show IDS rule names correctly in WebUI log Date: Sun, 19 Nov 2017 18:04:10 +0100 Message-ID: <20171119180410.4d2727aa.peter.mueller@link38.eu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5497144016185543712==" List-Id: --===============5497144016185543712== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Fixes #11519. Signed-off-by: Peter M=C3=BCller --- html/cgi-bin/logs.cgi/ids.dat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/cgi-bin/logs.cgi/ids.dat b/html/cgi-bin/logs.cgi/ids.dat index 44b3abdac..98176d690 100644 --- a/html/cgi-bin/logs.cgi/ids.dat +++ b/html/cgi-bin/logs.cgi/ids.dat @@ -387,7 +387,7 @@ sub processevent } ($title,$classification,$priority,$date,$time,$srcip,$srcport,$destip,$d= estport, $sid) =3D ("n/a","n/a","n/a","n/a","n/a","n/a","n/a","n/a","n/a", "n= /a"); @refs =3D (); - $_ =3D~ m/:([0-9]{1,4})\] (.*) \[\*\*\]/; + $_ =3D~ m/:([0-9]{1,5})\] (.*) \[\*\*\]/; $title =3D &Header::cleanhtml($2,"y"); } if ($_ =3D~ m/Classification: (.*)\] \[Priority: (\d)\]/) { --=20 2.13.6 --===============5497144016185543712==--