Add DHCP as routing protocol
This commit is contained in:
parent
44e50c8e78
commit
1e659af3c0
|
|
@ -14,6 +14,7 @@
|
||||||
13 dnrouted
|
13 dnrouted
|
||||||
14 xorp
|
14 xorp
|
||||||
15 ntk
|
15 ntk
|
||||||
|
16 dhcp
|
||||||
|
|
||||||
#
|
#
|
||||||
# Used by me for gated
|
# Used by me for gated
|
||||||
|
|
|
||||||
|
|
@ -211,6 +211,7 @@ enum
|
||||||
#define RTPROT_DNROUTED 13 /* DECnet routing daemon */
|
#define RTPROT_DNROUTED 13 /* DECnet routing daemon */
|
||||||
#define RTPROT_XORP 14 /* XORP */
|
#define RTPROT_XORP 14 /* XORP */
|
||||||
#define RTPROT_NTK 15 /* Netsukuku */
|
#define RTPROT_NTK 15 /* Netsukuku */
|
||||||
|
#define RTPROT_DHCP 16 /* DHCP client */
|
||||||
|
|
||||||
/* rtm_scope
|
/* rtm_scope
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -117,6 +117,7 @@ static char * rtnl_rtprot_tab[256] = {
|
||||||
[RTPROT_DNROUTED] = "dnrouted",
|
[RTPROT_DNROUTED] = "dnrouted",
|
||||||
[RTPROT_XORP] = "xorp",
|
[RTPROT_XORP] = "xorp",
|
||||||
[RTPROT_NTK] = "ntk",
|
[RTPROT_NTK] = "ntk",
|
||||||
|
[RTPROT_DHCP] = "dhcp",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue