Fix an issue in varnishcount.pl with alternative URLs.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 21 Jun 2015 23:44:05 +0000 (01:44 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 21 Jun 2015 23:44:05 +0000 (01:44 +0200)
varnishcount.pl

index 94203bb..35e1402 100755 (executable)
@@ -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,