]> git.proxmox.com Git - mirror_frr.git/commitdiff
Revert "ospfd: default route got flushed after lsa refresh timer."
authorDavid Lamparter <equinox@diac24.net>
Mon, 29 Jul 2019 12:04:06 +0000 (14:04 +0200)
committerDavid Lamparter <equinox@diac24.net>
Mon, 29 Jul 2019 12:57:57 +0000 (14:57 +0200)
This reverts commit a6b4e1fdedb290e8d86f73b0d7f842f7042b26af.

This fix is wrong too.

Signed-off-by: David Lamparter <equinox@diac24.net>
ospfd/ospf_flood.c

index 6d1e44996e4ea0c89f3398a8c619f7b9489bcc06..168dcee4495b5654761d64cab8dccbb6be504c64 100644 (file)
@@ -91,7 +91,7 @@ struct external_info *ospf_external_info_check(struct ospf *ospf,
        p.prefix = lsa->data->id;
        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;
 
                redist_on =