* [PATCH] rtnetlink: add new value for DHCP added routes
@ 2009-03-18 19:27 Stephen Hemminger
2009-03-20 6:49 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2009-03-18 19:27 UTC (permalink / raw)
To: David Miller; +Cc: netdev
To improve manageability, it would be good to be able to disambiguate routes
added by administrator from those added by DHCP client. The only necessary
kernel change is to add value to rtnetlink include file so iproute2 utility
can use it.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
--- a/include/linux/rtnetlink.h 2009-03-18 12:23:01.978726869 -0700
+++ b/include/linux/rtnetlink.h 2009-03-18 12:23:37.546430187 -0700
@@ -217,6 +217,7 @@ enum
#define RTPROT_DNROUTED 13 /* DECnet routing daemon */
#define RTPROT_XORP 14 /* XORP */
#define RTPROT_NTK 15 /* Netsukuku */
+#define RTPROT_DHCP 16 /* DHCP client */
/* rtm_scope
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] rtnetlink: add new value for DHCP added routes
2009-03-18 19:27 [PATCH] rtnetlink: add new value for DHCP added routes Stephen Hemminger
@ 2009-03-20 6:49 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2009-03-20 6:49 UTC (permalink / raw)
To: shemminger; +Cc: netdev
From: Stephen Hemminger <shemminger@vyatta.com>
Date: Wed, 18 Mar 2009 12:27:14 -0700
> To improve manageability, it would be good to be able to disambiguate routes
> added by administrator from those added by DHCP client. The only necessary
> kernel change is to add value to rtnetlink include file so iproute2 utility
> can use it.
>
> Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Applied to net-next-2.6, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-20 6:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-18 19:27 [PATCH] rtnetlink: add new value for DHCP added routes Stephen Hemminger
2009-03-20 6:49 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).