Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sbin/route Pull up revision 1.17 (requested by itojun):



details:   https://anonhg.NetBSD.org/src/rev/ac0e95260040
branches:  netbsd-1-5
changeset: 491129:ac0e95260040
user:      he <he%NetBSD.org@localhost>
date:      Thu Apr 05 12:42:04 2001 +0000

description:
Pull up revision 1.17 (requested by itojun):
  Mark cloned routes with RTF_CLONED.  Present it in ``netstat -r''
  output by ``c''.

diffstat:

 sbin/route/show.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 3e69f99f76f5 -r ac0e95260040 sbin/route/show.c
--- a/sbin/route/show.c Thu Apr 05 12:41:51 2001 +0000
+++ b/sbin/route/show.c Thu Apr 05 12:42:04 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: show.c,v 1.14.4.2 2001/04/05 12:33:54 he Exp $ */
+/*     $NetBSD: show.c,v 1.14.4.3 2001/04/05 12:42:04 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: show.c,v 1.14.4.2 2001/04/05 12:33:54 he Exp $");
+__RCSID("$NetBSD: show.c,v 1.14.4.3 2001/04/05 12:42:04 he Exp $");
 #endif
 #endif /* not lint */
 
@@ -90,6 +90,7 @@
        { 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