diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2018-12-20 13:06:18 +0100 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2018-12-20 13:06:18 +0100 |
commit | e7e3b335bf179441f4482f7219b4862797ed66ca (patch) | |
tree | b636d5cb34f9c2768ca9cd0a0bc86bbe476ef7ef /nest | |
parent | 4df42f1a55b39bd4f7657e3b22c3a09a77f25a45 (diff) |
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.
Diffstat (limited to 'nest')
-rw-r--r-- | nest/rt-attr.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |