changelog shortlog tags branches changeset file revisions annotate raw help

Mercurial > hg > plan9front / sys/src/9/ip/ipifc.c

revision 7034: fe9f017a9d36
parent 7027: b619d1fc23f6
child 7229: a0387db0dcba
     1.1--- a/sys/src/9/ip/ipifc.c
     1.2+++ b/sys/src/9/ip/ipifc.c
     1.3@@ -77,7 +77,7 @@ v6addrtype(uchar *addr)
     1.4 {
     1.5 	if(isv4(addr) || ipcmp(addr, IPnoaddr) == 0)
     1.6 		return unknownv6;
     1.7-	else if(islinklocal(addr) ||
     1.8+	else if(islinklocal(addr) || ipcmp(addr, v6loopback) == 0 ||
     1.9 	    isv6mcast(addr) && (addr[1] & 0xF) <= Link_local_scop)
    1.10 		return linklocalv6;
    1.11 	else