From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH] show IDS rule names correctly in WebUI log Date: Mon, 20 Nov 2017 15:49:44 +0000 Message-ID: <1511192984.4838.541.camel@ipfire.org> In-Reply-To: <20171119180410.4d2727aa.peter.mueller@link38.eu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0166956515366110675==" List-Id: --===============0166956515366110675== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Hello, can you explain what this patch is supposed to change? -Michael On Sun, 2017-11-19 at 18:04 +0100, Peter Müller wrote: > Fixes #11519. > > Signed-off-by: Peter Müller > --- > 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,$destport, $sid) = > ("n/a","n/a","n/a","n/a","n/a","n/a","n/a","n/a","n/a", "n/a"); > @refs = (); > - $_ =~ m/:([0-9]{1,4})\] (.*) \[\*\*\]/; > + $_ =~ m/:([0-9]{1,5})\] (.*) \[\*\*\]/; > $title = &Header::cleanhtml($2,"y"); > } > if ($_ =~ m/Classification: (.*)\] \[Priority: > (\d)\]/) { --===============0166956515366110675== Content-Type: application/pgp-signature Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="signature.asc" MIME-Version: 1.0 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KCmlRSXpCQUFCQ2dBZEZpRUU1L3JXNWwzR0dl Mnlwa3R4Z0hudy8yK1FDUWNGQWxvUytaZ0FDZ2tRZ0hudy8yK1EKQ1FjejJ3Ly9RbGJIdVlIZ3BR MVgxMFRrM1NSZERYemFw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