=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/netstat/if.c,v retrieving revision 1.31 retrieving revision 1.32 diff -c -r1.31 -r1.32 *** src/usr.bin/netstat/if.c 2002/06/19 15:12:09 1.31 --- src/usr.bin/netstat/if.c 2002/06/19 23:40:20 1.32 *************** *** 1,4 **** ! /* $OpenBSD: if.c,v 1.31 2002/06/19 15:12:09 itojun Exp $ */ /* $NetBSD: if.c,v 1.16.4.2 1996/06/07 21:46:46 thorpej Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: if.c,v 1.32 2002/06/19 23:40:20 itojun Exp $ */ /* $NetBSD: if.c,v 1.16.4.2 1996/06/07 21:46:46 thorpej Exp $ */ /* *************** *** 38,44 **** #if 0 static char sccsid[] = "from: @(#)if.c 8.2 (Berkeley) 2/21/94"; #else ! static char *rcsid = "$OpenBSD: if.c,v 1.31 2002/06/19 15:12:09 itojun Exp $"; #endif #endif /* not lint */ --- 38,44 ---- #if 0 static char sccsid[] = "from: @(#)if.c 8.2 (Berkeley) 2/21/94"; #else ! static char *rcsid = "$OpenBSD: if.c,v 1.32 2002/06/19 23:40:20 itojun Exp $"; #endif #endif /* not lint */ *************** *** 266,272 **** m6.sin6_family = AF_INET6; m6.sin6_addr = inm.in6m_addr; #ifdef KAME_SCOPEID ! if (m6.sin6_addr.s6_addr[1] == 0x02) { m6.sin6_scope_id = ntohs(*(u_int16_t *) &m6.sin6_addr.s6_addr[2]); --- 266,272 ---- m6.sin6_family = AF_INET6; m6.sin6_addr = inm.in6m_addr; #ifdef KAME_SCOPEID ! if (IN6_IS_ADDR_MC_LINKLOCAL(&m6.sin6_addr)) { m6.sin6_scope_id = ntohs(*(u_int16_t *) &m6.sin6_addr.s6_addr[2]);