iproute2: Add support for babel protocol table entry

This commit is contained in:
Dave Taht 2014-11-04 14:23:47 -08:00 committed by Stephen Hemminger
parent 2dc854854b
commit 1fa804e0d3
3 changed files with 4 additions and 0 deletions

View File

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

View File

@ -235,6 +235,8 @@ enum {
#define RTPROT_NTK 15 /* Netsukuku */
#define RTPROT_DHCP 16 /* DHCP client */
#define RTPROT_MROUTED 17 /* Multicast daemon */
#define RTPROT_BABEL 42 /* Babel daemon */
/* rtm_scope

View File

@ -120,6 +120,7 @@ static char * rtnl_rtprot_tab[256] = {
[RTPROT_MRT] = "mrt",
[RTPROT_ZEBRA] ="zebra",
[RTPROT_BIRD] = "bird",
[RTPROT_BABEL] = "babel",
[RTPROT_DNROUTED] = "dnrouted",
[RTPROT_XORP] = "xorp",
[RTPROT_NTK] = "ntk",