From 8f7edcb2276b7eef3fd2329ed53852e52ac0701b Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 8 May 2001 06:25:30 +0000 Subject: [PATCH] more IPv6 macros --- lib/bind/port_after.h.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/bind/port_after.h.in b/lib/bind/port_after.h.in index e9c57ca2c5..02aa283cf3 100644 --- a/lib/bind/port_after.h.in +++ b/lib/bind/port_after.h.in @@ -97,6 +97,13 @@ extern const struct in6_addr in6addr_any; #define __IPV6_ADDR_MC_SCOPE(a) ((a)->s6_addr[1] & 0x0f) #endif +#ifndef __IPV6_ADDR_SCOPE_SITELOCAL +#define __IPV6_ADDR_SCOPE_SITELOCAL 0x05 +#define +#ifndef __IPV6_ADDR_SCOPE_ORGLOCAL +#define __IPV6_ADDR_SCOPE_ORGLOCAL 0x08 +#define + #ifndef IN6_IS_ADDR_MC_SITELOCAL #define IN6_IS_ADDR_MC_SITELOCAL(a) \ (IN6_IS_ADDR_MULTICAST(a) && \