]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
rtnetlink: add new value for DHCP added routes
authorStephen Hemminger <shemminger@vyatta.com>
Fri, 20 Mar 2009 06:49:41 +0000 (23:49 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Mar 2009 06:49:41 +0000 (23:49 -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>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/rtnetlink.h

index 35a07c830f792cfa3b47fa3dbe5acff025dc44a2..ba3254ecf7fbf12fa14edf4141aac0393b1cad3a 100644 (file)
@@ -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