0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-17 16:48:43 +00:00

Fix route types in rta_show().

This commit is contained in:
Ondrej Zajicek 2011-06-26 22:25:09 +02:00
parent e08d2ff08e
commit 6370d6f61b

View File

@ -831,7 +831,7 @@ void
rta_show(struct cli *c, rta *a, ea_list *eal) rta_show(struct cli *c, rta *a, ea_list *eal)
{ {
static char *src_names[] = { "dummy", "static", "inherit", "device", "static-device", "redirect", static char *src_names[] = { "dummy", "static", "inherit", "device", "static-device", "redirect",
"RIP", "OSPF", "OSPF-ext", "OSPF-IA", "OSPF-boundary", "BGP" }; "RIP", "OSPF", "OSPF-IA", "OSPF-E1", "OSPF-E2", "BGP", "pipe" };
static char *cast_names[] = { "unicast", "broadcast", "multicast", "anycast" }; static char *cast_names[] = { "unicast", "broadcast", "multicast", "anycast" };
int i; int i;
byte buf[EA_FORMAT_BUF_SIZE]; byte buf[EA_FORMAT_BUF_SIZE];