diff options
| author | Mark Stapp <mjs@voltanet.io> | 2021-06-10 16:48:22 -0400 |
|---|---|---|
| committer | mergify-bot <noreply@mergify.io> | 2021-07-24 17:16:57 +0000 |
| commit | 12cedff3d2f886a20daff7ceefe489d9bb6b1fc0 (patch) | |
| tree | 399b0c27e68d6a062012f0783ec1373c4fce1121 /zebra/rib.h | |
| parent | 86b94cf686c8c411ec9dd6d74e597c7572736122 (diff) | |
zebra: use const in rib_match
Use const in common rib_match api.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
(cherry picked from commit bc77c3bb8abb15ff29c5e93a97e08fe3b7a3d1e9)
Diffstat (limited to 'zebra/rib.h')
| -rw-r--r-- | zebra/rib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/rib.h b/zebra/rib.h index 75d7ae1b67..957f38602a 100644 --- a/zebra/rib.h +++ b/zebra/rib.h @@ -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, |
