=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/netstat/if.c,v retrieving revision 1.15 retrieving revision 1.16 diff -c -r1.15 -r1.16 *** src/usr.bin/netstat/if.c 1997/07/23 04:38:33 1.15 --- src/usr.bin/netstat/if.c 1997/07/25 04:28:59 1.16 *************** *** 1,4 **** ! /* $OpenBSD: if.c,v 1.15 1997/07/23 04:38:33 denny Exp $ */ /* $NetBSD: if.c,v 1.16.4.2 1996/06/07 21:46:46 thorpej Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: if.c,v 1.16 1997/07/25 04:28:59 mickey 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.15 1997/07/23 04:38:33 denny 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.16 1997/07/25 04:28:59 mickey Exp $"; #endif #endif /* not lint */ *************** *** 115,121 **** return; ifnetaddr = (u_long)ifhead.tqh_first; ! printf("%-5.5s %-5.5s %-11.11s %-17.17s %8.8s %5.5s %8.8s %5.5s", "Name", "Mtu", "Network", "Address", "Ipkts", "Ierrs", "Opkts", "Oerrs"); printf(" %5s", "Coll"); --- 115,121 ---- return; ifnetaddr = (u_long)ifhead.tqh_first; ! printf("%-7.7s %-5.5s %-11.11s %-17.17s %8.8s %5.5s %8.8s %5.5s", "Name", "Mtu", "Network", "Address", "Ipkts", "Ierrs", "Opkts", "Oerrs"); printf(" %5s", "Coll"); *************** *** 144,150 **** *cp = '\0'; ifaddraddr = (u_long)ifnet.if_addrlist.tqh_first; } ! printf("%-5.5s %-5ld ", name, ifnet.if_mtu); if (ifaddraddr == 0) { printf("%-11.11s ", "none"); printf("%-15.15s ", "none"); --- 144,150 ---- *cp = '\0'; ifaddraddr = (u_long)ifnet.if_addrlist.tqh_first; } ! printf("%-7.7s %-5ld ", name, ifnet.if_mtu); if (ifaddraddr == 0) { printf("%-11.11s ", "none"); printf("%-15.15s ", "none");