From: Stephen Hemminger Date: Fri, 20 Mar 2009 06:49:41 +0000 (-0700) Subject: rtnetlink: add new value for DHCP added routes X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=2e1ab634bf013792d8803ec57c7a428a76f50028;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: David S. Miller --- diff --git a/include/linux/rtnetlink.h b/include/linux/rtnetlink.h index 35a07c830f7..ba3254ecf7f 100644 --- a/include/linux/rtnetlink.h +++ b/include/linux/rtnetlink.h @@ -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