projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
064d7a2
)
Handle IPv6 addresses in log
author
Jamie Cameron
<jcameron@webmin.com>
Fri, 31 Aug 2007 17:44:15 +0000
(17:44 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Fri, 31 Aug 2007 17:44:15 +0000
(17:44 +0000)
webalizer/webalizer-lib.pl
patch
|
blob
|
history
diff --git
a/webalizer/webalizer-lib.pl
b/webalizer/webalizer-lib.pl
index
76e9496
..
bf1102c
100644
(file)
--- a/
webalizer/webalizer-lib.pl
+++ b/
webalizer/webalizer-lib.pl
@@
-282,7
+282,7
@@
if (&foreign_installed("apache") && $auto{'apache'}) {
open(FILE, $lf);
local $line = <FILE>;
close(FILE);
- if (!$line || $line =~ /^([a-zA-Z0-9\.\-]+)\s+\S+\s+\S+\s+\[\d+\/[a-zA-z]+\/\d+:\d+:\d+:\d+\s+[0-9\+\-]+\]/) {
+ if (!$line || $line =~ /^([a-zA-Z0-9\.\-
\:
]+)\s+\S+\s+\S+\s+\[\d+\/[a-zA-z]+\/\d+:\d+:\d+:\d+\s+[0-9\+\-]+\]/) {
push(@logs, { 'file' => $lf,
'type' => 1 });
}