]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra: use const on fill_seg6ipt_encap func
authorHiroki Shirokura <slank.dev@gmail.com>
Mon, 22 Mar 2021 09:48:04 +0000 (09:48 +0000)
committerMark Stapp <mjs@voltanet.io>
Wed, 2 Jun 2021 14:24:48 +0000 (10:24 -0400)
Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
zebra/rt_netlink.c

index acd545a56569cfd03597b57c2d24c29836e69494..535547a8a2c4b414e72e6ce00b121ab4908f3943 100644 (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;