artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b73df28
)
Do not print "Label" caption for "netstat -rvA".
author
bluhm
<bluhm@openbsd.org>
Fri, 30 Jul 2010 12:55:12 +0000
(12:55 +0000)
committer
bluhm
<bluhm@openbsd.org>
Fri, 30 Jul 2010 12:55:12 +0000
(12:55 +0000)
ok markus@
usr.bin/netstat/show.c
patch
|
blob
|
history
diff --git
a/usr.bin/netstat/show.c
b/usr.bin/netstat/show.c
index
62348b4
..
7c4ea8d
100644
(file)
--- a/
usr.bin/netstat/show.c
+++ b/
usr.bin/netstat/show.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: show.c,v 1.3
2 2010/07/29 16:35:40
bluhm Exp $ */
+/* $OpenBSD: show.c,v 1.3
3 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;