Skip to content

Commit

Permalink
Added packet length to log_trace
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-pearce committed Sep 18, 2015
1 parent 3ef6abc commit 3d4d2e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/probe_modules/module_dns.c
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ void dns_process_packet(const u_char *packet, uint32_t len, fieldset_t *fs,
{
struct ip *ip_hdr = (struct ip *) &packet[sizeof(struct ether_header)];

log_trace("dns", "processing packet from %s", make_ip_str(ip_hdr->ip_src.s_addr));
log_trace("dns", "processing packet from %s len %u", make_ip_str(ip_hdr->ip_src.s_addr), len);

//fs_add_string(fs, "icmp_responder", make_ip_str(ip_hdr->ip_src.s_addr), 1);
if (ip_hdr->ip_p == IPPROTO_UDP) {
Expand Down

0 comments on commit 3d4d2e9

Please sign in to comment.