mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-12 11:18:59 +00:00
zebra: use const in rib_match
Use const in common rib_match api. Signed-off-by: Mark Stapp <mjs@voltanet.io>
This commit is contained in:
parent
455d14ae31
commit
bc77c3bb8a
@ -401,7 +401,7 @@ extern void rib_delete(afi_t afi, safi_t safi, vrf_id_t vrf_id, int type,
|
||||
bool fromkernel);
|
||||
|
||||
extern struct route_entry *rib_match(afi_t afi, safi_t safi, vrf_id_t vrf_id,
|
||||
union g_addr *addr,
|
||||
const union g_addr *addr,
|
||||
struct route_node **rn_out);
|
||||
extern struct route_entry *rib_match_ipv4_multicast(vrf_id_t vrf_id,
|
||||
struct in_addr addr,
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user