diff options
author | Hiroki Shirokura <slank.dev@gmail.com> | 2021-03-22 10:48:04 +0100 |
---|---|---|
committer | Mark Stapp <mjs@voltanet.io> | 2021-06-02 16:24:48 +0200 |
commit | 8a18a7c0c976993604dbf3b061c0e5ea0ec5f0d4 (patch) | |
tree | 4f5f4057c99a47f1a872af85158912894beeb0bf /zebra | |
parent | zebra: fix implicit conversion (diff) | |
download | frr-8a18a7c0c976993604dbf3b061c0e5ea0ec5f0d4.tar.xz frr-8a18a7c0c976993604dbf3b061c0e5ea0ec5f0d4.zip |
zebra: use const on fill_seg6ipt_encap func
Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
Diffstat (limited to 'zebra')
-rw-r--r-- | zebra/rt_netlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/rt_netlink.c b/zebra/rt_netlink.c index acd545a56..535547a8a 100644 --- a/zebra/rt_netlink.c +++ b/zebra/rt_netlink.c @@ -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; |