From: Donald Sharp Date: Fri, 8 Jun 2018 17:47:13 +0000 (-0400) Subject: iproute2: Add support for a few routing protocols X-Git-Tag: v4.18.0~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a313455c6c1d2965e4736a73c4f929097e45e364;p=thirdparty%2Fiproute2.git iproute2: Add support for a few routing protocols Add support for: BGP ISIS OSPF RIP EIGRP Routing protocols to iproute2. Signed-off-by: Donald Sharp Signed-off-by: Stephen Hemminger --- diff --git a/etc/iproute2/rt_protos b/etc/iproute2/rt_protos index 2a9ee01ba..b3a0ec8fd 100644 --- a/etc/iproute2/rt_protos +++ b/etc/iproute2/rt_protos @@ -16,3 +16,8 @@ 15 ntk 16 dhcp 42 babel +186 bgp +187 isis +188 ospf +189 rip +192 eigrp diff --git a/lib/rt_names.c b/lib/rt_names.c index a02db35ea..66d5f2f07 100644 --- a/lib/rt_names.c +++ b/lib/rt_names.c @@ -134,6 +134,11 @@ static char *rtnl_rtprot_tab[256] = { [RTPROT_XORP] = "xorp", [RTPROT_NTK] = "ntk", [RTPROT_DHCP] = "dhcp", + [RTPROT_BGP] = "bgp", + [RTPROT_ISIS] = "isis", + [RTPROT_OSPF] = "ospf", + [RTPROT_RIP] = "rip", + [RTPROT_EIGRP] = "eigrp", };