=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/netstat/if.c,v retrieving revision 1.53 retrieving revision 1.54 diff -c -r1.53 -r1.54 *** src/usr.bin/netstat/if.c 2007/09/11 16:14:41 1.53 --- src/usr.bin/netstat/if.c 2007/12/14 18:35:46 1.54 *************** *** 1,4 **** ! /* $OpenBSD: if.c,v 1.53 2007/09/11 16:14:41 mk Exp $ */ /* $NetBSD: if.c,v 1.16.4.2 1996/06/07 21:46:46 thorpej Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: if.c,v 1.54 2007/12/14 18:35:46 deraadt Exp $ */ /* $NetBSD: if.c,v 1.16.4.2 1996/06/07 21:46:46 thorpej Exp $ */ /* *************** *** 34,40 **** #if 0 static char sccsid[] = "from: @(#)if.c 8.2 (Berkeley) 2/21/94"; #else ! static char *rcsid = "$OpenBSD: if.c,v 1.53 2007/09/11 16:14:41 mk Exp $"; #endif #endif /* not lint */ --- 34,40 ---- #if 0 static char sccsid[] = "from: @(#)if.c 8.2 (Berkeley) 2/21/94"; #else ! static char *rcsid = "$OpenBSD: if.c,v 1.54 2007/12/14 18:35:46 deraadt Exp $"; #endif #endif /* not lint */ *************** *** 77,85 **** union { struct ifaddr ifa; struct in_ifaddr in; - #ifdef INET6 struct in6_ifaddr in6; - #endif } ifaddr; u_int64_t total; u_long ifaddraddr; --- 77,83 ---- *************** *** 120,128 **** ifaddraddr = 0; while (ifnetaddr || ifaddraddr) { struct sockaddr_in *sin; - #ifdef INET6 struct sockaddr_in6 *sin6; - #endif char *cp; int n, m; --- 118,124 ---- *************** *** 212,218 **** } } break; - #ifdef INET6 case AF_INET6: sin6 = (struct sockaddr_in6 *)sa; #ifdef __KAME__ --- 208,213 ---- *************** *** 270,276 **** } } break; - #endif case AF_APPLETALK: printf("atlk:%-12s",atalk_print(sa,0x10) ); printf("%-12s ",atalk_print(sa,0x0b) ); --- 265,270 ----