author | Florian Forster <octo@collectd.org> | |
Fri, 7 Sep 2012 09:05:48 +0000 (11:05 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Fri, 7 Sep 2012 09:05:48 +0000 (11:05 +0200) |
1 | 2 | |||
---|---|---|---|---|
src/Makefile.am | patch | | diff1 | | diff2 | | blob | history |
src/collectd.c | patch | | diff1 | | diff2 | | blob | history |
src/collectd.conf.pod | patch | | diff1 | | diff2 | | blob | history |
src/common.c | patch | | diff1 | | diff2 | | blob | history |
src/df.c | patch | | diff1 | | diff2 | | blob | history |
src/memcachec.c | patch | | diff1 | | diff2 | | blob | history |
src/netapp.c | patch | | diff1 | | diff2 | | blob | history |
src/oracle.c | patch | | diff1 | | diff2 | | blob | history |
src/rrdtool.c | patch | | diff1 | | diff2 | | blob | history |
src/snmp.c | patch | | diff1 | | diff2 | | blob | history |
src/utils_dns.c | patch | | diff1 | | diff2 | | blob | history |
diff --cc src/Makefile.am
Simple merge
diff --cc src/collectd.c
Simple merge
diff --cc src/collectd.conf.pod
Simple merge
diff --cc src/common.c
Simple merge
diff --cc src/df.c
Simple merge
diff --cc src/memcachec.c
Simple merge
diff --cc src/netapp.c
Simple merge
diff --cc src/oracle.c
Simple merge
diff --cc src/rrdtool.c
Simple merge
diff --cc src/snmp.c
Simple merge
diff --cc src/utils_dns.c
index cfd0ccfc75be7fc202ea93defbbf9b9cae19158a,2899bd4140223229a1ae45533429d186572ddd35..80a2ee577f7213c4182a57b70e5f220d6d4d92fa
--- 1/src/utils_dns.c
--- 2/src/utils_dns.c
+++ b/src/utils_dns.c
{
char buf[PCAP_SNAPLEN];
int offset = ip->ip_hl << 2;
- struct in6_addr s_addr;
- struct in6_addr d_addr;
+ struct in6_addr c_src_addr;
+ struct in6_addr c_dst_addr;
if (ip->ip_v == 6)
- return (handle_ipv6 ((struct ip6_hdr *) ip, len));
+ return (handle_ipv6 ((void *) ip, len));
- in6_addr_from_buffer (&s_addr, &ip->ip_src.s_addr, sizeof (ip->ip_src.s_addr), AF_INET);
- in6_addr_from_buffer (&d_addr, &ip->ip_dst.s_addr, sizeof (ip->ip_dst.s_addr), AF_INET);
- if (ignore_list_match (&s_addr))
+ in6_addr_from_buffer (&c_src_addr, &ip->ip_src.s_addr, sizeof (ip->ip_src.s_addr), AF_INET);
+ in6_addr_from_buffer (&c_dst_addr, &ip->ip_dst.s_addr, sizeof (ip->ip_dst.s_addr), AF_INET);
+ if (ignore_list_match (&c_src_addr))
return (0);
if (IPPROTO_UDP != ip->ip_p)
return 0;