Note that RTM_CHANGE can also change the gateway
This commit is contained in:
parent
51bdb4782e
commit
62cbe5902e
|
@ -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, 1989, 1991, 1993\
|
|||
#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",
|
||||
|
|
Loading…
Reference in New Issue