1133. [bug] IN6_IS_ADDR_LOOPBACK not portably defined on platforms
without IN6_IS_ADDR_LOOPBACK. [RT #2106]
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
1133. [bug] IN6_IS_ADDR_LOOPBACK not portably defined on platforms
|
||||
without IN6_IS_ADDR_LOOPBACK. [RT #2106]
|
||||
|
||||
1132. [func] Improve UPDATE prerequisite failure diagnotic messages.
|
||||
|
||||
1131. [bug] The match-destinations view option did not work with
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: net.h,v 1.32 2001/11/01 22:39:29 gson Exp $ */
|
||||
/* $Id: net.h,v 1.33 2001/11/21 13:06:20 marka Exp $ */
|
||||
|
||||
#ifndef ISC_NET_H
|
||||
#define ISC_NET_H 1
|
||||
@@ -138,7 +138,8 @@
|
||||
#endif
|
||||
|
||||
#ifndef IN6_IS_ADDR_LOOPBACK
|
||||
#define IN6_IS_ADDR_LOOPBACK(a) IN6_IS_ADDR_EQUAL(a, &in6addr_loopback)
|
||||
#define IN6_IS_ADDR_LOOPBACK(x) \
|
||||
(memcmp((x)->s6_addr, in6addr_loopback.s6_addr, 16) == 0)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user