From: Daniel Sutto Date: Wed, 11 Jul 2012 17:32:16 +0000 (+0200) Subject: Fix bad definition of UDP src port in DNS plugin. X-Git-Tag: collectd-5.0.5~7^2~4 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ee992f505a64e4da5637988c33783ef9a350ed29;p=collectd.git Fix bad definition of UDP src port in DNS plugin. --- diff --git a/src/utils_dns.c b/src/utils_dns.c index 73db619b..2899bd41 100644 --- a/src/utils_dns.c +++ b/src/utils_dns.c @@ -118,7 +118,7 @@ #if HAVE_STRUCT_UDPHDR_UH_DPORT && HAVE_STRUCT_UDPHDR_UH_SPORT # define UDP_DEST uh_dport -# define UDP_SRC uh_dport +# define UDP_SRC uh_sport #elif HAVE_STRUCT_UDPHDR_DEST && HAVE_STRUCT_UDPHDR_SOURCE # define UDP_DEST dest # define UDP_SRC source