2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

1578. [bug] Don't use CLASS E IPv4 addresses when resolving.

[RT #10346]
This commit is contained in:
Mark Andrews
2004-02-20 00:52:46 +00:00
parent 7436bb66c6
commit 22fa4e3206
8 changed files with 54 additions and 8 deletions

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: net.h,v 1.19 2003/01/16 03:59:28 marka Exp $ */
/* $Id: net.h,v 1.20 2004/02/20 00:52:46 marka Exp $ */
#ifndef ISC_NET_H
#define ISC_NET_H 1
@@ -139,6 +139,10 @@ typedef isc_uint16_t in_port_t;
(((isc_uint32_t)(i) & ISC__IPADDR(0xf0000000)) \
== ISC__IPADDR(0xe0000000))
#define ISC_IPADDR_ISEXPERIMENTAL(i) \
(((isc_uint32_t)(i) & ISC__IPADDR(0xf0000000)) \
== ISC__IPADDR(0xf0000000))
/*
* Fix the FD_SET and FD_CLR Macros to properly cast
*/