projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb3174d
)
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
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
73db619
..
2899bd4
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