summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_route.c
diff options
context:
space:
mode:
authorTrey Aspelund <taspelund@nvidia.com>2021-04-01 03:10:12 +0200
committerTrey Aspelund <taspelund@nvidia.com>2021-04-01 03:36:02 +0200
commit4ad4ae649281f487453ae5de90145d09b114dffb (patch)
tree0d84ddc36c3dfdea6b1ee39c3986e7c2086a1b05 /bgpd/bgp_route.c
parentdoc: Add Displaying Routes by RD section (diff)
downloadfrr-4ad4ae649281f487453ae5de90145d09b114dffb.tar.xz
frr-4ad4ae649281f487453ae5de90145d09b114dffb.zip
bgpd: fix old vpn command compilation failures
set_vpn_nexthop/no_set_vpn_nexthop were failing due to missing declarations and unused variables. This adds the missing declaration and removes unused variables. Signed-off-by: Trey Aspelund <taspelund@nvidia.com>
Diffstat (limited to 'bgpd/bgp_route.c')
-rw-r--r--bgpd/bgp_route.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c
index 299e7cf82..35a931622 100644
--- a/bgpd/bgp_route.c
+++ b/bgpd/bgp_route.c
@@ -13060,7 +13060,8 @@ DEFUN (show_ip_bgp_vpn_all_route_prefix,
}
return bgp_show_route(vty, bgp, network, AFI_IP, SAFI_MPLS_VPN, NULL, 0,
- BGP_PATH_SHOW_ALL, use_json(argc, argv));
+ BGP_PATH_SHOW_ALL, RPKI_NOT_BEING_USED,
+ use_json(argc, argv));
}
#endif /* KEEP_OLD_VPN_COMMANDS */