summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/netstat/route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/netstat/route.c b/usr.bin/netstat/route.c
index b6b6382..0a52e56 100644
--- a/usr.bin/netstat/route.c
+++ b/usr.bin/netstat/route.c
@@ -248,7 +248,7 @@ pr_rthdr(af)
if (Aflag)
printf("%-8.8s ","Address");
- if (lflag)
+ if (af == AF_INET || lflag)
printf("%-*.*s %-*.*s %-6.6s %6.6s%8.8s %8.8s %6s\n",
WID_DST(af), WID_DST(af), "Destination",
WID_GW(af), WID_GW(af), "Gateway",
OpenPOWER on IntegriCloud