X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Futils_dns.c;h=cfa4a5cbefff989c28e4a46accb89e00f1a93f59;hb=ba2ee9aec4c0454eed8f29b4c6ce96c6fc372346;hp=d1c8d5d504a73b0b8f1ad6b603b16eb69ba81db6;hpb=cf9ac771ade7c5ba75ab13d2b4f2482983994840;p=collectd.git diff --git a/src/utils_dns.c b/src/utils_dns.c index d1c8d5d5..cfa4a5cb 100644 --- a/src/utils_dns.c +++ b/src/utils_dns.c @@ -450,7 +450,6 @@ handle_ipv6 (struct ip6_hdr *ipv6, int len) int nexthdr; struct in6_addr s_addr; - struct in6_addr d_addr; uint16_t payload_len; if (0 > len) @@ -459,7 +458,6 @@ handle_ipv6 (struct ip6_hdr *ipv6, int len) offset = sizeof (struct ip6_hdr); nexthdr = ipv6->ip6_nxt; s_addr = ipv6->ip6_src; - d_addr = ipv6->ip6_dst; payload_len = ntohs (ipv6->ip6_plen); if (ignore_list_match (&s_addr))