Commit 057dcfd7 authored by Geoff Simmons's avatar Geoff Simmons

varnishevent: client time formats use ReqEnd end time (matches varnishncsa)

parent d7b6dcf3
......@@ -113,7 +113,7 @@ get_tm(logline_t *ll, struct tm * t) {
if (C(ll->spec)) {
if (TAG(ll,SLT_ReqEnd).len
&& (ts = get_fld(&TAG(ll,SLT_ReqEnd), 2)) != NULL)
&& (ts = get_fld(&TAG(ll,SLT_ReqEnd), 3)) != NULL)
tt = (time_t) atol(ts);
else
date_rec = GET_HDR(ll, rx, "Date");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment