add support to keepalived rtm_protocol

Following inclusion in net-next, extend rtnl_rtprot_tab and rt_protos
to support Keepalived.

Signed-off-by: Alexandre Cassen <acassen@gmail.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
This commit is contained in:
Alexandre Cassen 2020-06-24 18:21:25 +02:00 committed by David Ahern
parent 482e463d6c
commit 30f3beea0d
2 changed files with 23 additions and 21 deletions

View File

@ -15,6 +15,7 @@
14 xorp
15 ntk
16 dhcp
18 keepalived
42 babel
186 bgp
187 isis

View File

@ -136,6 +136,7 @@ static char *rtnl_rtprot_tab[256] = {
[RTPROT_XORP] = "xorp",
[RTPROT_NTK] = "ntk",
[RTPROT_DHCP] = "dhcp",
[RTPROT_KEEPALIVED] = "keepalived",
[RTPROT_BGP] = "bgp",
[RTPROT_ISIS] = "isis",
[RTPROT_OSPF] = "ospf",