summaryrefslogtreecommitdiffstats
path: root/pbrd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-07-17 02:41:01 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-07-17 02:41:01 +0200
commit07bba5ab7a096a3420a39380e6f961221cfd7231 (patch)
tree828988c53caa949ac1db02fd140fedc211ecf4b8 /pbrd
parentzebra: Print out client who sent us bad data (diff)
downloadfrr-07bba5ab7a096a3420a39380e6f961221cfd7231.tar.xz
frr-07bba5ab7a096a3420a39380e6f961221cfd7231.zip
pbrd: Do not install nexthop group until we have nexthops
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>
Diffstat (limited to 'pbrd')
-rw-r--r--pbrd/pbr_nht.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pbrd/pbr_nht.c b/pbrd/pbr_nht.c
index a69bb0084..57e8cf574 100644
--- a/pbrd/pbr_nht.c
+++ b/pbrd/pbr_nht.c
@@ -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);
}