summaryrefslogtreecommitdiff
path: root/zebra/zebra_rib.c
diff options
context:
space:
mode:
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;