Browse Source

ospfd: Update route in zebra when tag changes

Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Christian Franke 2 years ago
parent
commit
5958b8f790
1 changed files with 4 additions and 0 deletions
  1. 4 0
      ospfd/ospf_ase.c

+ 4 - 0
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;
 }