summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_flowspec_vty.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2020-09-24 14:20:24 +0200
committerDonald Sharp <sharpd@nvidia.com>2020-09-24 14:20:24 +0200
commitdf3aa2406615656bfe10cf4cfb689c682b9d223b (patch)
tree040255c41c41acff62c4828ff5a28cf4c74d9b68 /bgpd/bgp_flowspec_vty.c
parentbgpd: pbra is already derefed in all paths to this spot (diff)
downloadfrr-df3aa2406615656bfe10cf4cfb689c682b9d223b.tar.xz
frr-df3aa2406615656bfe10cf4cfb689c682b9d223b.zip
bgpd: Remove dest variable from route_out_vty_flowspec
The dest variable was never really used. Just remove from the code base. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'bgpd/bgp_flowspec_vty.c')
-rw-r--r--bgpd/bgp_flowspec_vty.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/bgpd/bgp_flowspec_vty.c b/bgpd/bgp_flowspec_vty.c
index 798bce821..3b7fb649a 100644
--- a/bgpd/bgp_flowspec_vty.c
+++ b/bgpd/bgp_flowspec_vty.c
@@ -268,12 +268,7 @@ void route_vty_out_flowspec(struct vty *vty, const struct prefix *p,
json_object *json_ecom_path = NULL;
json_object *json_time_path = NULL;
char timebuf[BGP_UPTIME_LEN];
- struct bgp_dest *dest = NULL;
- if (path)
- dest = path->net;
- if (dest)
- bgp_dest_get_bgp_table_info(dest);
if (p == NULL || p->family != AF_FLOWSPEC)
return;
if (json_paths) {