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/zebra_rib.c | |
| 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/zebra_rib.c')
| -rw-r--r-- | zebra/zebra_rib.c | 3 |
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; |
