From: Steinar H. Gunderson Date: Sun, 21 Jun 2015 23:44:05 +0000 (+0200) Subject: Fix an issue in varnishcount.pl with alternative URLs. X-Git-Url: https://git.sesse.net/?p=remoteglot;a=commitdiff_plain;h=9c3a7f1ecf68c29161f129b3f7b2931e0f7efb13 Fix an issue in varnishcount.pl with alternative URLs. --- diff --git a/varnishcount.pl b/varnishcount.pl index 94203bb..35e1402 100755 --- a/varnishcount.pl +++ b/varnishcount.pl @@ -35,7 +35,7 @@ EV::run; sub handle_line { my $line = shift; - $line =~ m#(\d+) /analysis.pl \?ims=\d+&unique=(.*) tffb=(.*)# or return; + $line =~ m#(\d+) $url \?ims=\d+&unique=(.*) tffb=(.*)# or return; $uniques{$2} = { last_seen => $1 + $3, grace => undef,