]> git.puffer.fish Git - matthieu/frr.git/commitdiff
ospfd: Update route in zebra when tag changes
authorChristian Franke <chris@opensourcerouting.org>
Sat, 1 Oct 2016 02:06:03 +0000 (04:06 +0200)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Sat, 8 Oct 2016 01:05:05 +0000 (21:05 -0400)
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
ospfd/ospf_ase.c

index 74c1711ef145e4fbebf758cd9a08f18b0b573b7c..fe40b10171988d8c15876e75443098dcfdee247d 100644 (file)
@@ -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;
 }