Skip to content

Commit 61fa9d9

Browse files
committed
allow arbitary custom columns after Squid native format
1 parent 64d6900 commit 61fa9d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

squid2radius.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
if i % 1000 == 0: sys.stdout.write('.')
3030

3131
# http://wiki.squid-cache.org/Features/LogFormat
32-
_, _, _, _, num_bytes, _, _, rfc931, _, _ = line.split()
32+
_, _, _, _, num_bytes, _, _, rfc931, _, _ = line.split()[:10]
3333

3434
if rfc931 == '-': continue
3535

0 commit comments

Comments
 (0)