summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2019-02-22 12:22:16 -0500
committerGitHub <noreply@github.com>2019-02-22 12:22:16 -0500
commitf4756ad73738d3aff13b6dfb5e74522913f12c57 (patch)
tree4dd19fdc1794cf4decd3a016739e6d337a86d6d6
parent494724f6e45c1d99e24efe8372041bf94c68d9bd (diff)
parentc3935045954a8ac040d04988ec2a145527b56e36 (diff)
Merge pull request #3851 from donaldsharp/bgp_routemap_fix
bgpd: Fix compile warning -> error
-rw-r--r--bgpd/bgp_routemap.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/bgpd/bgp_routemap.c b/bgpd/bgp_routemap.c
index 18cb332ab7..17109281bc 100644
--- a/bgpd/bgp_routemap.c
+++ b/bgpd/bgp_routemap.c
@@ -910,10 +910,9 @@ struct route_map_rule_cmd route_match_evpn_route_type_cmd = {
route_match_evpn_route_type_compile, route_match_evpn_route_type_free};
/* Route map commands for VRF route leak with source vrf matching */
-static route_map_result_t route_match_vrl_source_vrf(void *rule,
- struct prefix *prefix,
- route_map_object_t type,
- void *object)
+static route_map_result_t
+route_match_vrl_source_vrf(void *rule, const struct prefix *prefix,
+ route_map_object_t type, void *object)
{
struct bgp_path_info *path;
char *vrf_name;