1133. [bug] IN6_IS_ADDR_LOOPBACK not portably defined on platforms

without IN6_IS_ADDR_LOOPBACK. [RT #2106]
This commit is contained in:
Mark Andrews
2001-11-21 13:06:20 +00:00
parent d5f394f4c4
commit eb2c518a38
2 changed files with 6 additions and 2 deletions
+3
View File
@@ -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
+3 -2
View File
@@ -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