svn commit: samba r15544 - branches/SAMBA_3_0/source/libads
trunk/source/libads
jerry at samba.org
jerry at samba.org
Fri May 12 16:38:52 GMT 2006
Author: jerry
Date: 2006-05-12 16:38:51 +0000 (Fri, 12 May 2006)
New Revision: 15544
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15544
Log:
make sure to define NS_PACKETSZ for Bind 4 interfaces (fix build on us4)
Modified:
branches/SAMBA_3_0/source/libads/dns.c
trunk/source/libads/dns.c
Changeset:
Modified: branches/SAMBA_3_0/source/libads/dns.c
===================================================================
--- branches/SAMBA_3_0/source/libads/dns.c 2006-05-12 15:17:35 UTC (rev 15543)
+++ branches/SAMBA_3_0/source/libads/dns.c 2006-05-12 16:38:51 UTC (rev 15544)
@@ -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
Modified: trunk/source/libads/dns.c
===================================================================
--- trunk/source/libads/dns.c 2006-05-12 15:17:35 UTC (rev 15543)
+++ trunk/source/libads/dns.c 2006-05-12 16:38:51 UTC (rev 15544)
@@ -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
More information about the samba-cvs
mailing list