Source-Changes-HG archive

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

[src/trunk]: src/sbin/route Note that RTM_CHANGE can also change the gateway



details:   https://anonhg.NetBSD.org/src/rev/b5a6a0e31fcc
branches:  trunk
changeset: 334954:b5a6a0e31fcc
user:      roy <roy%NetBSD.org@localhost>
date:      Wed Dec 17 10:56:09 2014 +0000

description:
Note that RTM_CHANGE can also change the gateway

diffstat:

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

diffs (27 lines):

diff -r f4617bea338a -r b5a6a0e31fcc sbin/route/route.c
--- a/sbin/route/route.c        Wed Dec 17 10:02:46 2014 +0000
+++ b/sbin/route/route.c        Wed Dec 17 10:56:09 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: route.c,v 1.147 2014/11/12 03:34:08 christos Exp $     */
+/*     $NetBSD: route.c,v 1.148 2014/12/17 10:56:09 roy Exp $  */
 
 /*
  * Copyright (c) 1983, 1989, 1991, 1993
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = "@(#)route.c    8.6 (Berkeley) 4/28/95";
 #else
-__RCSID("$NetBSD: route.c,v 1.147 2014/11/12 03:34:08 christos Exp $");
+__RCSID("$NetBSD: route.c,v 1.148 2014/12/17 10:56:09 roy Exp $");
 #endif
 #endif /* not lint */
 
@@ -1266,7 +1266,7 @@
 const char * const msgtypes[] = {
        [RTM_ADD] = "RTM_ADD: Add Route",
        [RTM_DELETE] = "RTM_DELETE: Delete Route",
-       [RTM_CHANGE] = "RTM_CHANGE: Change Metrics or flags",
+       [RTM_CHANGE] = "RTM_CHANGE: Change Metrics, Flags or Gateway",
        [RTM_GET] = "RTM_GET: Report Metrics",
        [RTM_LOSING] = "RTM_LOSING: Kernel Suspects Partitioning",
        [RTM_REDIRECT] = "RTM_REDIRECT: Told to use different route",



Home | Main Index | Thread Index | Old Index