summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>1997-07-25 04:28:59 +0000
committermickey <mickey@openbsd.org>1997-07-25 04:28:59 +0000
commitdae6c0c397ec84aed8765d16d39de2755c391baa (patch)
tree32fa074a922d7b21094f019ac9b2e02152b02ede
parentmap3270 is a path, not a name. msaitoh@spa.is.uec.ac.jp (diff)
downloadwireguard-openbsd-dae6c0c397ec84aed8765d16d39de2755c391baa.tar.xz
wireguard-openbsd-dae6c0c397ec84aed8765d16d39de2755c391baa.zip
make CIA fit
make interface names fit
-rw-r--r--usr.bin/netstat/if.c8
-rw-r--r--usr.bin/netstat/route.c6
2 files changed, 7 insertions, 7 deletions
diff --git a/usr.bin/netstat/if.c b/usr.bin/netstat/if.c
index 72d81acee5e..256fd261ed7 100644
--- a/usr.bin/netstat/if.c
+++ b/usr.bin/netstat/if.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.c,v 1.15 1997/07/23 04:38:33 denny Exp $ */
+/* $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,7 +38,7 @@
#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 $";
+static char *rcsid = "$OpenBSD: if.c,v 1.16 1997/07/25 04:28:59 mickey Exp $";
#endif
#endif /* not lint */
@@ -115,7 +115,7 @@ intpr(interval, ifnetaddr)
return;
ifnetaddr = (u_long)ifhead.tqh_first;
- printf("%-5.5s %-5.5s %-11.11s %-17.17s %8.8s %5.5s %8.8s %5.5s",
+ 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,7 +144,7 @@ intpr(interval, ifnetaddr)
*cp = '\0';
ifaddraddr = (u_long)ifnet.if_addrlist.tqh_first;
}
- printf("%-5.5s %-5ld ", name, ifnet.if_mtu);
+ printf("%-7.7s %-5ld ", name, ifnet.if_mtu);
if (ifaddraddr == 0) {
printf("%-11.11s ", "none");
printf("%-15.15s ", "none");
diff --git a/usr.bin/netstat/route.c b/usr.bin/netstat/route.c
index a646d35e29a..c0c2e190fd7 100644
--- a/usr.bin/netstat/route.c
+++ b/usr.bin/netstat/route.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: route.c,v 1.18 1997/07/23 04:38:34 denny Exp $ */
+/* $OpenBSD: route.c,v 1.19 1997/07/25 04:29:00 mickey Exp $ */
/* $NetBSD: route.c,v 1.15 1996/05/07 02:55:06 thorpej Exp $ */
/*
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "from: @(#)route.c 8.3 (Berkeley) 3/9/94";
#else
-static char *rcsid = "$OpenBSD: route.c,v 1.18 1997/07/23 04:38:34 denny Exp $";
+static char *rcsid = "$OpenBSD: route.c,v 1.19 1997/07/25 04:29:00 mickey Exp $";
#endif
#endif /* not lint */
@@ -211,7 +211,7 @@ pr_family(af)
}
/* column widths; each followed by one space */
-#define WID_DST 16 /* width of destination column */
+#define WID_DST 18 /* width of destination column */
#define WID_GW 18 /* width of gateway column */
/*