aboutsummaryrefslogtreecommitdiff
path: root/inet/inet6_scopeid_pton.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/inet6_scopeid_pton.c')
-rw-r--r--inet/inet6_scopeid_pton.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/inet/inet6_scopeid_pton.c b/inet/inet6_scopeid_pton.c
index f842ffcadb..e09b1cb34d 100644
--- a/inet/inet6_scopeid_pton.c
+++ b/inet/inet6_scopeid_pton.c
@@ -33,6 +33,7 @@ __inet6_scopeid_pton (const struct in6_addr *address, const char *scope,
uint32_t *result)
{
if (IN6_IS_ADDR_LINKLOCAL (address)
+ || IN6_IS_ADDR_MC_NODELOCAL (address)
|| IN6_IS_ADDR_MC_LINKLOCAL (address))
{
uint32_t number = __if_nametoindex (scope);