mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 13:33:15 +00:00
Revert "ospfd: default route got flushed after lsa refresh timer."
This reverts commit a6b4e1fded
.
This fix is wrong too. The zclient->redist & ->mi_redist arrays are
accessed past their size for any external route that is not 0.0.0.0/0.
Also, it is incorrect to check default_information for DEFAULT_ROUTE
since that's "originate always".
Signed-off-by: David Lamparter <equinox@diac24.net>
This commit is contained in:
parent
e410fd7f29
commit
fd9a1d5afe
@ -91,7 +91,7 @@ struct external_info *ospf_external_info_check(struct ospf *ospf,
|
|||||||
p.prefix = lsa->data->id;
|
p.prefix = lsa->data->id;
|
||||||
p.prefixlen = ip_masklen(al->mask);
|
p.prefixlen = ip_masklen(al->mask);
|
||||||
|
|
||||||
for (type = 0; type <= ZEBRA_ROUTE_MAX; type++) {
|
for (type = 0; type < ZEBRA_ROUTE_MAX; type++) {
|
||||||
int redist_on = 0;
|
int redist_on = 0;
|
||||||
|
|
||||||
redist_on =
|
redist_on =
|
||||||
|
Loading…
Reference in New Issue
Block a user