diff options
author | 2010-07-30 12:55:12 +0000 | |
---|---|---|
committer | 2010-07-30 12:55:12 +0000 | |
commit | 75b648d2d81ef78e6e456d5ee7976c780d3e32fc (patch) | |
tree | a3e5123ea704ee7412220e5addf988e85d4c5415 | |
parent | Don't set "success" flags before error checks. (diff) | |
download | wireguard-openbsd-75b648d2d81ef78e6e456d5ee7976c780d3e32fc.tar.xz wireguard-openbsd-75b648d2d81ef78e6e456d5ee7976c780d3e32fc.zip |
Do not print "Label" caption for "netstat -rvA".
ok markus@
-rw-r--r-- | usr.bin/netstat/show.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/netstat/show.c b/usr.bin/netstat/show.c index 62348b4f97b..7c4ea8d12f8 100644 --- a/usr.bin/netstat/show.c +++ b/usr.bin/netstat/show.c @@ -1,4 +1,4 @@ -/* $OpenBSD: show.c,v 1.32 2010/07/29 16:35:40 bluhm Exp $ */ +/* $OpenBSD: show.c,v 1.33 2010/07/30 12:55:12 bluhm Exp $ */ /* $NetBSD: show.c,v 1.1 1996/11/15 18:01:41 gwr Exp $ */ /* @@ -249,7 +249,7 @@ pr_rthdr(int af, int Aflag) WID_DST(af), WID_DST(af), "Destination", WID_GW(af), WID_GW(af), "Gateway", "Flags", "Refs", "Use", "Mtu", "Prio", "Iface"); - if (vflag) + if (vflag && !Aflag) printf(" %s", "Label"); putchar('\n'); break; |