Fix segfault in ospfd - [quagga-dev 980].

This commit is contained in:
hasso 2004-03-20 18:59:59 +00:00
parent 158cdad448
commit 42ed9da7b6
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,14 @@
2004-03-20 Michael Bruening <mike@vailsys.com>
* ospf_vty.c: Completed array distribute_str of route types with
addition of "isis". This array must be indexed by
ZEBRA_ROUTE_(SYSTEM|KERNEL|...) defines in zebra.h, and should
be updated with every route type addition. This fix allows
commands redistributing routes from (bgp|isis), like "router ospf
redistribute bgp ...", to be written to terminal, memory, file,
which would otherwise result in a seg fault or, possibly, config
file corruption. Overlooked in import of isisd.
2004-03-18 Amir Guindehi <amir@datacore.ch>
* ospf_opaque.c: Attempt to correct the incorrect behavior of

View File

@ -7142,7 +7142,7 @@ config_write_virtual_link (struct vty *vty, struct ospf *ospf)
char *distribute_str[] = { "system", "kernel", "connected", "static", "rip",
"ripng", "ospf", "ospf6", "bgp"};
"ripng", "ospf", "ospf6", "isis", "bgp"};
int
config_write_ospf_redistribute (struct vty *vty, struct ospf *ospf)
{