Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/usr.bin/netstat Pull up revision 1.52 (requested by ito...
details: https://anonhg.NetBSD.org/src/rev/f689c726f6dc
branches: netbsd-1-5
changeset: 491131:f689c726f6dc
user: he <he%NetBSD.org@localhost>
date: Thu Apr 05 12:42:38 2001 +0000
description:
Pull up revision 1.52 (requested by itojun):
Mark cloned routes with RTF_CLONED. Present it in ``netstat -r''
output by ``c''.
diffstat:
usr.bin/netstat/route.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (35 lines):
diff -r ace44a6ee4bf -r f689c726f6dc usr.bin/netstat/route.c
--- a/usr.bin/netstat/route.c Thu Apr 05 12:42:24 2001 +0000
+++ b/usr.bin/netstat/route.c Thu Apr 05 12:42:38 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: route.c,v 1.48.4.1 2000/10/18 01:32:48 tv Exp $ */
+/* $NetBSD: route.c,v 1.48.4.2 2001/04/05 12:42:38 he Exp $ */
/*
* Copyright (c) 1983, 1988, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "from: @(#)route.c 8.3 (Berkeley) 3/9/94";
#else
-__RCSID("$NetBSD: route.c,v 1.48.4.1 2000/10/18 01:32:48 tv Exp $");
+__RCSID("$NetBSD: route.c,v 1.48.4.2 2001/04/05 12:42:38 he Exp $");
#endif
#endif /* not lint */
@@ -91,7 +91,6 @@
{ RTF_GATEWAY, 'G' },
{ RTF_HOST, 'H' },
{ RTF_REJECT, 'R' },
- { RTF_BLACKHOLE,'B' },
{ RTF_DYNAMIC, 'D' },
{ RTF_MODIFIED, 'M' },
{ RTF_DONE, 'd' }, /* Completed -- for routing messages only */
@@ -100,6 +99,8 @@
{ RTF_XRESOLVE, 'X' },
{ RTF_LLINFO, 'L' },
{ RTF_STATIC, 'S' },
+ { RTF_BLACKHOLE,'B' },
+ { RTF_CLONED, 'c' },
{ RTF_PROTO1, '1' },
{ RTF_PROTO2, '2' },
{ 0 }
Home |
Main Index |
Thread Index |
Old Index