Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/netstat PR/47704: Takahiro HAYASHI: Fix -L flag
details: https://anonhg.NetBSD.org/src/rev/c6b2928c60de
branches: trunk
changeset: 333645:c6b2928c60de
user: christos <christos%NetBSD.org@localhost>
date: Wed Nov 12 03:34:59 2014 +0000
description:
PR/47704: Takahiro HAYASHI: Fix -L flag
diffstat:
usr.bin/netstat/main.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 4a25721edbcc -r c6b2928c60de usr.bin/netstat/main.c
--- a/usr.bin/netstat/main.c Wed Nov 12 03:34:08 2014 +0000
+++ b/usr.bin/netstat/main.c Wed Nov 12 03:34:59 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.94 2014/11/07 12:42:27 christos Exp $ */
+/* $NetBSD: main.c,v 1.95 2014/11/12 03:34:59 christos Exp $ */
/*
* Copyright (c) 1983, 1988, 1993
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "from: @(#)main.c 8.4 (Berkeley) 3/1/94";
#else
-__RCSID("$NetBSD: main.c,v 1.94 2014/11/07 12:42:27 christos Exp $");
+__RCSID("$NetBSD: main.c,v 1.95 2014/11/12 03:34:59 christos Exp $");
#endif
#endif /* not lint */
@@ -454,7 +454,7 @@
iflag = 1;
break;
case 'L':
- Lflag = 1;
+ Lflag = RT_LFLAG;
break;
case 'l':
lflag = 1;
@@ -639,7 +639,7 @@
else {
if (use_sysctl)
p_rttables(af,
- nflag|tagflag|vflag, 0, ~0);
+ nflag|tagflag|vflag|Lflag, 0, ~0);
else
routepr(nl[N_RTREE].n_value);
}
Home |
Main Index |
Thread Index |
Old Index