zebra: use const on fill_seg6ipt_encap func

Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
This commit is contained in:
Hiroki Shirokura 2021-03-22 09:48:04 +00:00 committed by Mark Stapp
parent b9596f139b
commit 8a18a7c0c9

View File

@ -1331,7 +1331,7 @@ static bool _netlink_route_encode_nexthop_src(const struct nexthop *nexthop,
}
static size_t fill_seg6ipt_encap(char *buffer, size_t buflen,
struct in6_addr *seg)
const struct in6_addr *seg)
{
struct seg6_iptunnel_encap *ipt;
struct ipv6_sr_hdr *srh;