summaryrefslogtreecommitdiffstats
path: root/ospfd
diff options
context:
space:
mode:
authorChristian Franke <chris@opensourcerouting.org>2016-10-01 04:06:03 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-10-08 03:05:05 +0200
commite7331dea737788c1e7590eac104430aa98cf9f38 (patch)
treee156d6ef0ea84168a934011c053fbba4d30a668f /ospfd
parentzebra: Fix some warnings found during compile. (diff)
downloadfrr-e7331dea737788c1e7590eac104430aa98cf9f38.tar.xz
frr-e7331dea737788c1e7590eac104430aa98cf9f38.zip
ospfd: Update route in zebra when tag changes
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Diffstat (limited to 'ospfd')
-rw-r--r--ospfd/ospf_ase.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ospfd/ospf_ase.c b/ospfd/ospf_ase.c
index 74c1711ef..fe40b1017 100644
--- a/ospfd/ospf_ase.c
+++ b/ospfd/ospf_ase.c
@@ -598,6 +598,10 @@ ospf_ase_route_match_same (struct route_table *rt, struct prefix *prefix,
if (op->ifindex != newop->ifindex)
return 0;
}
+
+ if (or->u.ext.tag != newor->u.ext.tag)
+ return 0;
+
return 1;
}