mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 07:42:07 -04:00
1677. [bug] IN6_IS_ADDR_MC_NODELOCAL() addresses can also have
symbolic scope id's.
This commit is contained in:
parent
aee5e9cbac
commit
5f3df6134c
1 changed files with 2 additions and 1 deletions
|
|
@ -1092,7 +1092,8 @@ ip6_str2scopeid(char *scope, struct sockaddr_in6 *sin6,
|
|||
return (0);
|
||||
|
||||
#ifdef USE_IFNAMELINKID
|
||||
if (IN6_IS_ADDR_LINKLOCAL(a6) || IN6_IS_ADDR_MC_LINKLOCAL(a6)) {
|
||||
if (IN6_IS_ADDR_LINKLOCAL(a6) || IN6_IS_ADDR_MC_LINKLOCAL(a6) ||
|
||||
IN6_IS_ADDR_MC_NODELOCAL(a6)) {
|
||||
/*
|
||||
* Using interface names as link indices can be allowed
|
||||
* only when we can assume a one-to-one mappings between
|
||||
|
|
|
|||
Loading…
Reference in a new issue