From 75b648d2d81ef78e6e456d5ee7976c780d3e32fc Mon Sep 17 00:00:00 2001 From: bluhm Date: Fri, 30 Jul 2010 12:55:12 +0000 Subject: [PATCH] Do not print "Label" caption for "netstat -rvA". ok markus@ --- usr.bin/netstat/show.c | 4 ++-- 1 file 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; -- 2.20.1