diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-03-30 16:33:25 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-04-18 00:40:17 +0200 |
commit | 4d96fd9febd9635d803105d750c883e68f2c881f (patch) | |
tree | 5ebdace4b79710f17a3f1e264fd6848908839ecc | |
parent | lib: Clean up delete of a nexthop from a nexthop group (diff) | |
download | frr-4d96fd9febd9635d803105d750c883e68f2c881f.tar.xz frr-4d96fd9febd9635d803105d750c883e68f2c881f.zip |
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 <sharpd@cumulusnetworks.com>
-rw-r--r-- | zebra/zebra_rnh.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/zebra/zebra_rnh.c b/zebra/zebra_rnh.c index 879da092f..22a04ee23 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); + } } } } |