Skip to content

Commit

Permalink
iproute2: Add support for babel protocol table entry
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Taht authored and Stephen Hemminger committed Nov 29, 2014
1 parent 2dc8548 commit 1fa804e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions etc/iproute2/rt_protos
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
14 xorp
15 ntk
16 dhcp
42 babel

#
# Used by me for gated
Expand Down
2 changes: 2 additions & 0 deletions include/linux/rtnetlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions lib/rt_names.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 1fa804e

Please sign in to comment.