diff options
author | kstailey <kstailey@cvs.openbsd.org> | 1997-07-28 18:56:04 +0000 |
---|---|---|
committer | kstailey <kstailey@cvs.openbsd.org> | 1997-07-28 18:56:04 +0000 |
commit | 900c30f4d87c5b01d6d62f3cc5cbf1d4955eceba (patch) | |
tree | efaf42ac0d32871df0bf02bd11763ecb794e9138 /usr.bin/netstat/route.c | |
parent | 543511c7dfe7be61787b52377881460db2bd4f98 (diff) |
line up headers when showing route table
Diffstat (limited to 'usr.bin/netstat/route.c')
-rw-r--r-- | usr.bin/netstat/route.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/netstat/route.c b/usr.bin/netstat/route.c index c0c2e190fd7..816d9073471 100644 --- a/usr.bin/netstat/route.c +++ b/usr.bin/netstat/route.c @@ -1,4 +1,4 @@ -/* $OpenBSD: route.c,v 1.19 1997/07/25 04:29:00 mickey Exp $ */ +/* $OpenBSD: route.c,v 1.20 1997/07/28 18:56:03 kstailey 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.19 1997/07/25 04:29:00 mickey Exp $"; +static char *rcsid = "$OpenBSD: route.c,v 1.20 1997/07/28 18:56:03 kstailey Exp $"; #endif #endif /* not lint */ @@ -223,7 +223,7 @@ pr_rthdr() if (Aflag) printf("%-*.*s ", PLEN, PLEN, "Address"); - printf("%-*.*s %-*.*s %-6.6s %6.6s%16.16s %6.6s %s\n", + printf("%-*.*s %-*.*s %-6.6s %6.6s %6.6s %6.6s %s\n", WID_DST, WID_DST, "Destination", WID_GW, WID_GW, "Gateway", "Flags", "Refs", "Use", "Mtu", "Interface"); |