Signed-off-by: Timo Teräs <[email protected]>
---
This should fix the issue reported in:
[quagga-dev 14998] Multipath doesn't work in 1.0
zebra/zebra_rib.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c
index 1650dab..18afabc 100644
--- a/zebra/zebra_rib.c
+++ b/zebra/zebra_rib.c
@@ -1078,7 +1078,6 @@ nexthop_active_update (struct route_node *rn, struct rib
*rib, int set)
ifindex_t prev_index;
rib->nexthop_active_num = 0;
- UNSET_FLAG (rib->status, RIB_ENTRY_CHANGED);
for (nexthop = rib->nexthop; nexthop; nexthop = nexthop->next)
{
@@ -1275,6 +1274,8 @@ rib_process (struct route_node *rn)
RNODE_FOREACH_RIB (rn, rib)
{
+ UNSET_FLAG (rib->status, RIB_ENTRY_CHANGED);
+
/* Currently installed rib. */
if (CHECK_FLAG (rib->flags, ZEBRA_FLAG_SELECTED))
{
--
2.8.0
_______________________________________________
Quagga-dev mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-dev