dns: fix last timestamp handling

Fixes incorrect variable in ticket #2207

In app-layer-dns-tcp.c in the DNSTCPResponseParse function
a variable is set to last_req when it should be last_resp.
This makes it consistent with UDP DNS response parsing.
pull/2900/head
Derek 8 years ago committed by Victor Julien
parent 8fa6e065bc
commit d9a7a6d3e5

@ -628,7 +628,7 @@ next_record:
} }
if (f != NULL) { if (f != NULL) {
dns_state->last_req = f->lastts; dns_state->last_resp = f->lastts;
} }
SCReturnInt(1); SCReturnInt(1);

Loading…
Cancel
Save