From 5e586437f8ed210d7d0e9b9316376773c457adfc Mon Sep 17 00:00:00 2001 From: Daniel Sutto Date: Wed, 11 Jul 2012 19:32:16 +0200 Subject: [PATCH] Fix bad definition of UDP src port in DNS plugin. --- src/utils_dns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils_dns.c b/src/utils_dns.c index cfa4a5cb..1f171b33 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 -- 2.11.0