summaryrefslogtreecommitdiff
path: root/zebra/rtread_netlink.c
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2021-04-19 14:26:57 -0400
committerMark Stapp <mjs.ietf@gmail.com>2021-07-19 10:36:12 -0400
commit1a3bd37f7c29fca429d7ef79ace80cd6db1d5563 (patch)
treedace8bbf2ea7ec7fc1216563ebb9f1d00b61ac8a /zebra/rtread_netlink.c
parent32367e7a3b948c7447c21169478fdd659b546270 (diff)
zebra: use more const
Use const in many more evpn apis, especially for macaddr, ipaddr arguments. Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'zebra/rtread_netlink.c')
-rw-r--r--zebra/rtread_netlink.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/zebra/rtread_netlink.c b/zebra/rtread_netlink.c
index fbca47351d..f70b006acd 100644
--- a/zebra/rtread_netlink.c
+++ b/zebra/rtread_netlink.c
@@ -46,9 +46,9 @@ void macfdb_read_for_bridge(struct zebra_ns *zns, struct interface *ifp,
}
void macfdb_read_specific_mac(struct zebra_ns *zns, struct interface *br_if,
- struct ethaddr *mac, vlanid_t vid)
+ const struct ethaddr *mac, vlanid_t vid)
{
-netlink_macfdb_read_specific_mac(zns, br_if, mac, vid);
+ netlink_macfdb_read_specific_mac(zns, br_if, mac, vid);
}
void neigh_read(struct zebra_ns *zns)
@@ -61,7 +61,7 @@ void neigh_read_for_vlan(struct zebra_ns *zns, struct interface *vlan_if)
netlink_neigh_read_for_vlan(zns, vlan_if);
}
-void neigh_read_specific_ip(struct ipaddr *ip, struct interface *vlan_if)
+void neigh_read_specific_ip(const struct ipaddr *ip, struct interface *vlan_if)
{
netlink_neigh_read_specific_ip(ip, vlan_if);
}