summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 18435e3)
raw | patch | inline | side by side (parent: 18435e3)
author | Daniel Sutto <sutto.daniel@itk.ppke.hu> | |
Wed, 11 Jul 2012 17:32:16 +0000 (19:32 +0200) | ||
committer | Daniel Sutto <sutto.daniel@itk.ppke.hu> | |
Wed, 11 Jul 2012 17:32:16 +0000 (19:32 +0200) |
src/utils_dns.c | patch | blob | history |
diff --git a/src/utils_dns.c b/src/utils_dns.c
index cfa4a5cbefff989c28e4a46accb89e00f1a93f59..1f171b33199a6d8b6fb99e1ac3c0372fa9e29f5e 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