From e7e3b335bf179441f4482f7219b4862797ed66ca Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Thu, 20 Dec 2018 13:06:18 +0100 Subject: [PATCH] Nest: Fix crash in rta_show() for Babel routes Some new route source values did not have associated string in rta_show(), which might caused crash in some cases. --- nest/rt-attr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nest/rt-attr.c b/nest/rt-attr.c index edf27d44..3db55202 100644 --- a/nest/rt-attr.c +++ b/nest/rt-attr.c @@ -1251,7 +1251,7 @@ void rta_show(struct cli *c, rta *a, ea_list *eal) { static char *src_names[] = { "dummy", "static", "inherit", "device", "static-device", "redirect", - "RIP", "OSPF", "OSPF-IA", "OSPF-E1", "OSPF-E2", "BGP", "pipe" }; + "RIP", "OSPF", "OSPF-IA", "OSPF-E1", "OSPF-E2", "BGP", "pipe", "babel" }; static char *cast_names[] = { "unicast", "broadcast", "multicast", "anycast" }; int i;