summaryrefslogtreecommitdiff
path: root/zebra/zebra_rib.c
diff options
context:
space:
mode:
authorStephen Worley <sworley@nvidia.com>2021-06-24 12:46:31 -0400
committerGitHub <noreply@github.com>2021-06-24 12:46:31 -0400
commita7c91c4246d8560a41367a8c331f17b45e31d04a (patch)
tree2ffe88a3631e2a58473bb682fec6a885427101bc /zebra/zebra_rib.c
parent7bee25fa2005ee27498b19793fecf2e083d36c05 (diff)
parent072b487b8f1b07829ccc547627ef7a0aa84ab289 (diff)
Merge pull request #8731 from mjstapp/fix_pw_backups
zebra: Fix pseudowires with backup nexthops
Diffstat (limited to 'zebra/zebra_rib.c')
-rw-r--r--zebra/zebra_rib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c
index 8afb5053c4..d0acf77936 100644
--- a/zebra/zebra_rib.c
+++ b/zebra/zebra_rib.c
@@ -332,7 +332,8 @@ void rib_handle_nhg_replace(struct nhg_hash_entry *old_entry,
}
struct route_entry *rib_match(afi_t afi, safi_t safi, vrf_id_t vrf_id,
- union g_addr *addr, struct route_node **rn_out)
+ const union g_addr *addr,
+ struct route_node **rn_out)
{
struct prefix p;
struct route_table *table;