From: Ondrej Zajicek (work) Date: Thu, 20 Dec 2018 12:06:18 +0000 (+0100) Subject: Nest: Fix crash in rta_show() for Babel routes X-Git-Tag: v1.6.5~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7e3b335bf179441f4482f7219b4862797ed66ca;p=thirdparty%2Fbird.git 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. --- diff --git a/nest/rt-attr.c b/nest/rt-attr.c index edf27d445..3db552021 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;