diff options
Diffstat (limited to 'lib/ipv6.c')
-rw-r--r-- | lib/ipv6.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -88,6 +88,8 @@ ipv6_classify(ip_addr *a) case 14: return IADDR_MULTICAST | SCOPE_UNIVERSE; } } + if (!x && !a->addr[1] && !a->addr[2] && a->addr[3] == 1) + return IADDR_HOST | SCOPE_HOST; /* Loopback address */ return IADDR_INVALID; } |