summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cb3174d)
raw | patch | inline | side by side (parent: cb3174d)
author | Daniel Sutto <sutto.daniel@itk.ppke.hu> | |
Wed, 11 Jul 2012 17:32:16 +0000 (19:32 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Thu, 12 Jul 2012 06:17:20 +0000 (08:17 +0200) |
src/utils_dns.c | patch | blob | history |
diff --git a/src/utils_dns.c b/src/utils_dns.c
index 73db619b6816b60f25616006446e9bf4ace56e64..2899bd4140223229a1ae45533429d186572ddd35 100644 (file)
--- a/src/utils_dns.c
+++ b/src/utils_dns.c
#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