Add DHCP as routing protocol

This commit is contained in:
Stephen Hemminger 2009-03-18 13:33:12 -07:00
parent 44e50c8e78
commit 1e659af3c0
3 changed files with 3 additions and 0 deletions

View File

@ -14,6 +14,7 @@
13 dnrouted
14 xorp
15 ntk
16 dhcp
#
# Used by me for gated

View File

@ -211,6 +211,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

View File

@ -117,6 +117,7 @@ static char * rtnl_rtprot_tab[256] = {
[RTPROT_DNROUTED] = "dnrouted",
[RTPROT_XORP] = "xorp",
[RTPROT_NTK] = "ntk",
[RTPROT_DHCP] = "dhcp",
};