summaryrefslogtreecommitdiff
path: root/ospfd/ospf_route.c
diff options
context:
space:
mode:
Diffstat (limited to 'ospfd/ospf_route.c')
-rw-r--r--ospfd/ospf_route.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ospfd/ospf_route.c b/ospfd/ospf_route.c
index 7cfcaf14be..502a4a08c1 100644
--- a/ospfd/ospf_route.c
+++ b/ospfd/ospf_route.c
@@ -208,6 +208,9 @@ int ospf_route_match_same(struct route_table *rt, struct prefix_ipv4 *prefix,
or = rn->info;
if (or->type == newor->type && or->cost == newor->cost) {
+ if (or->changed)
+ return 0;
+
if (or->type == OSPF_DESTINATION_NETWORK) {
if (or->paths->count != newor->paths->count)
return 0;