]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra: Tell rib_process to actually rethink pbr routes.
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 30 Mar 2018 14:33:25 +0000 (10:33 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 17 Apr 2018 22:40:17 +0000 (18:40 -0400)
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>
zebra/zebra_rnh.c

index 879da092f0e199f92dce93f19f4af4ebe067f4c4..22a04ee23dfa6929ae4a9cb302f820e00d1241a7 100644 (file)
@@ -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);
+                       }
                }
        }
 }