From 4d96fd9febd9635d803105d750c883e68f2c881f Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Fri, 30 Mar 2018 10:33:25 -0400 Subject: [PATCH] zebra: Tell rib_process to actually rethink pbr routes. When I implemented this code change I was only testing against static routes and with one nexthop. I missed the fact that we needed to tell rib_process to actually rethink the nexthops. Ticket: CM-20274 Signed-off-by: Donald Sharp --- zebra/zebra_rnh.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zebra/zebra_rnh.c b/zebra/zebra_rnh.c index 879da092f0..22a04ee23d 100644 --- a/zebra/zebra_rnh.c +++ b/zebra/zebra_rnh.c @@ -561,8 +561,10 @@ static void zebra_rnh_process_pbr_tables(int family, * just rethink it. Yes this is a hammer, but * a small one */ - if (o_re) + if (o_re) { + SET_FLAG(o_re->status, ROUTE_ENTRY_CHANGED); rib_queue_add(o_rn); + } } } }