projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18435e3
)
Fix bad definition of UDP src port in DNS plugin.
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
cfa4a5c
..
1f171b3
100644
(file)
--- 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_
d
port
+# define UDP_SRC uh_
s
port
#elif HAVE_STRUCT_UDPHDR_DEST && HAVE_STRUCT_UDPHDR_SOURCE
# define UDP_DEST dest
# define UDP_SRC source