diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2012-07-26 13:59:50 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2012-07-26 13:59:50 +0200 |
commit | bbcfd5a0485a8df9568d8da0fc524e272e3e7601 (patch) | |
tree | 4722b349207a50c83faf18ee31a286be3f803669 /proto/ospf/rt.c | |
parent | 48cf5e84e6ed17578e4ad43c5ef54d6ff7d825c4 (diff) |
Fixes default route in OSPF multiple area setting.
Diffstat (limited to 'proto/ospf/rt.c')
-rw-r--r-- | proto/ospf/rt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c index 42c54dfd..4b8de4b8 100644 --- a/proto/ospf/rt.c +++ b/proto/ospf/rt.c @@ -1066,7 +1066,7 @@ check_nssa_lsa(struct proto_ospf *po, ort *nf) originate_ext_lsa(po->backbone, fn, EXT_NSSA, rt_metric, rt_fwaddr, rt_tag, 0); else if (fn->x1 == EXT_NSSA) - flush_ext_lsa(po->backbone, fn); + flush_ext_lsa(po->backbone, fn, 0); } /* RFC 2328 16.7. p2 - find new/lost vlink endpoints */ @@ -1189,7 +1189,7 @@ ospf_rt_abr1(struct proto_ospf *po) if (oa_is_nssa(oa) && oa->ac->default_nssa) originate_ext_lsa(oa, &default_nf->fn, 0, oa->ac->default_cost, IPA_NONE, 0, 0); else - flush_ext_lsa(oa, &default_nf->fn); + flush_ext_lsa(oa, &default_nf->fn, 1); /* RFC 2328 16.4. (3) - precompute preferred ASBR entries */ |