X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Futils_dns.c;h=9a2e479c5ce500a60d396c30140768d9091ab769;hp=2348be24db05d55c5b1d6b6ad000ce8108594701;hb=61a1fa91ba73e4fe3a34949f77c5f017056f2b7a;hpb=7274cb052668eab0cd7dcb5d48d4dec75ae707b3 diff --git a/src/utils_dns.c b/src/utils_dns.c index 2348be24..9a2e479c 100644 --- a/src/utils_dns.c +++ b/src/utils_dns.c @@ -432,7 +432,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) @@ -441,7 +440,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))