From ee992f505a64e4da5637988c33783ef9a350ed29 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 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 -- 2.30.2