Commit e7e3b335 authored by Ondřej Zajíček's avatar Ondřej Zajíček

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.
parent 4df42f1a
......@@ -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;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment