git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c029a8
)
r15544: make sure to define NS_PACKETSZ for Bind 4 interfaces (fix build on us4)
author
Gerald Carter
<jerry@samba.org>
Fri, 12 May 2006 16:38:51 +0000
(16:38 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:16:57 +0000
(11:16 -0500)
(This used to be commit
18f2e1a4e19a83afec6573a020f3a913f07d19dc
)
source3/libads/dns.c
patch
|
blob
|
history
diff --git
a/source3/libads/dns.c
b/source3/libads/dns.c
index 7eeb915ecfd4a66a52d968858f182be6a10f3e65..d2e263a9d1bd06c6469f6a4c07fd2319e0b23494 100644
(file)
--- a/
source3/libads/dns.c
+++ b/
source3/libads/dns.c
@@
-47,7
+47,12
@@
# define NS_HFIXEDSZ HFIXEDSZ
# else
# define NS_HFIXEDSZ sizeof(HEADER)
-# endif
+# endif /* HFIXEDSZ */
+# ifdef PACKETSZ
+# define NS_PACKETSZ PACKETSZ
+# else /* 512 is usually the default */
+# define NS_PACKETSZ 512
+# endif /* PACKETSZ */
# define T_SRV 33
#endif