BIND 8.2.3-T2B ns_defs.h patch for OPTION_USE_IXFR/OPTION_MAINTAIN_IXFR_BASE

Valerie Miller miller at process.com
Fri Apr 14 17:21:30 UTC 2000


Hi,

In ns_defs.h, the #defines for OPTION_USE_IXFR and OPTION_MAINTAIN_IXFR_BASE
are not a single bit and they overlapped other #defines, interfering with
each other.

Patch below.

Valerie Miller
Software Engineer
Process Software Corporation


*** ns_defs.h~	Thu Mar 30 15:28:23 2000
--- ns_defs.h	Fri Apr 14 13:07:32 2000
***************
*** 182,194 ****
--- 182,200 ----
  					 * CNAME RRs */
  #define OPTION_HOSTSTATS	0x0080	/* Maintain per-host statistics? */
  #define OPTION_DEALLOC_ON_EXIT	0x0100	/* Deallocate everything on exit? */
+ #ifde ORIGINAL_BIND_8_2_3_T2B
  #define OPTION_USE_IXFR		0x0110	/* Use by delault ixfr in zone transfer */
  #define OPTION_MAINTAIN_IXFR_BASE 0x0120 
+ #endif
  #define OPTION_NODIALUP		0x0200	/* Turn off dialup support */
  #define OPTION_NORFC2308_TYPE1	0x0400	/* Prevent type1 respones (RFC 2308)
  					 * to cached negative respones */
  #define	OPTION_USE_ID_POOL	0x0800	/* Use the memory hogging query ID */
  #define	OPTION_TREAT_CR_AS_SPACE 0x1000 /* Treat CR in zone files as space */
+ #ifndef ORIGINAL_BIND_8_2_3_T2B
+ #define OPTION_USE_IXFR		0x2000	/* Use by delault ixfr in zone transfer */
+ #define OPTION_MAINTAIN_IXFR_BASE 0x4000 
+ #endif
  
  #define	DEFAULT_OPTION_FLAGS	(OPTION_NODIALUP|OPTION_NONAUTH_NXDOMAIN|\
  				 OPTION_USE_ID_POOL|OPTION_NORFC2308_TYPE1)




More information about the bind-workers mailing list