rtnetlink: add new value for DHCP added routes
Subsystems (2)
PATCH 1/1 rtnetlink: add new value for DHCP added routes
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 <[email protected]>
include/linux/rtnetlink.h +1 -0
@@ -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
From: Stephen Hemminger <[email protected]>
Date: Wed, 18 Mar 2009 12:27:14 -0700
Quoted 6 lines
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 <[email protected]>
Applied to net-next-2.6, thanks.