diff options
author | rgirada <rgirada@vmware.com> | 2018-10-08 08:22:58 +0200 |
---|---|---|
committer | rgirada <rgirada@vmware.com> | 2018-10-08 08:22:58 +0200 |
commit | a6b4e1fdedb290e8d86f73b0d7f842f7042b26af (patch) | |
tree | 311e97cdc4e0170b08f0358e87a25c08ac494751 /ospfd | |
parent | Merge pull request #3125 from dslicenc/linklocal-nht (diff) | |
download | frr-a6b4e1fdedb290e8d86f73b0d7f842f7042b26af.tar.xz frr-a6b4e1fdedb290e8d86f73b0d7f842f7042b26af.zip |
ospfd: default route got flushed after lsa refresh timer.
Default route type is not considered while processing lsa
refresh timer expiry which intern makes it flushed from lsdb.
Signed-off-by: rgirada <rgirada@vmware.com>
Diffstat (limited to 'ospfd')
-rw-r--r-- | ospfd/ospf_flood.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_flood.c b/ospfd/ospf_flood.c index 807845593..714c47b4e 100644 --- a/ospfd/ospf_flood.c +++ b/ospfd/ospf_flood.c @@ -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 = |