Bug fix in IN6_IS_ADDR_GLOBAL.
Changing IN6_IS_ADDR_GLOBAL to accept all IPv6 addresses which have a 2000::/3 prefix. (cherry picked from commit 92c93a8010a70bc9b8d62db88648b5ed6de7794b)
This commit is contained in:
parent
ef7bbc4866
commit
c86d963abe
@ -255,6 +255,13 @@ Version 1.8.0
|
||||
Version 1.6.14
|
||||
*******************************************************************************
|
||||
|
||||
2011-10-24 Fabrice Fontaine <fabrice.fontaine(at)orange.com>
|
||||
|
||||
Bug fix in IN6_IS_ADDR_GLOBAL.
|
||||
|
||||
Changing IN6_IS_ADDR_GLOBAL to accept all IPv6 addresses which have a
|
||||
2000::/3 prefix.
|
||||
|
||||
2011-07-20 Marc Essayan <marc.essayan(at)orange-ftgroup.com>
|
||||
|
||||
Bug Fix on M-SEARCH.
|
||||
|
@ -79,8 +79,8 @@
|
||||
|
||||
#ifndef IN6_IS_ADDR_GLOBAL
|
||||
#define IN6_IS_ADDR_GLOBAL(a) \
|
||||
(((((__const uint8_t *) (a))[0] & htonl(0xff000000)) <= htonl(0x3f000000) \
|
||||
&& (((__const uint8_t *) (a))[0] & htonl(0xff000000)) >= htonl(0x20000000)))
|
||||
((((__const uint32_t *) (a))[0] & htonl(0x70000000)) \
|
||||
== htonl (0x20000000))
|
||||
#endif /* IS ADDR GLOBAL */
|
||||
|
||||
#ifndef IN6_IS_ADDR_ULA
|
||||
|
Loading…
x
Reference in New Issue
Block a user