]> git.puffer.fish Git - matthieu/frr.git/commitdiff
pbrd: Do not install nexthop group until we have nexthops
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 17 Jul 2019 00:41:01 +0000 (20:41 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 17 Jul 2019 00:41:01 +0000 (20:41 -0400)
The creation of a nexthop group results in a callback with
just the nexthop group name.  At this point in time we
do not have any nexthop information so there is nothing to
install.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
pbrd/pbr_nht.c

index a69bb00848a8d28f980ab4c88e6681bca148faaa..57e8cf5742c27c228cb8aeddc2f3084a97941512 100644 (file)
@@ -227,7 +227,6 @@ void pbr_nhgroup_add_cb(const char *name)
        DEBUGD(&pbr_dbg_nht, "%s: Added nexthop-group %s", __PRETTY_FUNCTION__,
               name);
 
-       pbr_nht_install_nexthop_group(pnhgc, nhgc->nhg);
        pbr_map_check_nh_group_change(name);
 }