Module Name: src
Committed By: roy
Date: Wed Dec 17 10:56:09 UTC 2014
Modified Files:
src/sbin/route: route.c
Log Message:
Note that RTM_CHANGE can also change the gateway
To generate a diff of this commit:
cvs rdiff -u -r1.147 -r1.148 src/sbin/route/route.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/route/route.c
diff -u src/sbin/route/route.c:1.147 src/sbin/route/route.c:1.148
--- src/sbin/route/route.c:1.147 Wed Nov 12 03:34:08 2014
+++ src/sbin/route/route.c Wed Dec 17 10:56:09 2014
@@ -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 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 19
#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 @@ mask_addr(struct sou *soup)
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",