]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
This can be const at least.
authorRoy Marples <roy@marples.name>
Mon, 15 Feb 2016 09:59:38 +0000 (09:59 +0000)
committerRoy Marples <roy@marples.name>
Mon, 15 Feb 2016 09:59:38 +0000 (09:59 +0000)
if-bsd.c

index ee7affa8b29da6924c219c57bdc39e9e261b029c..2c44ea8c3cd25ced7c8986ec4303572e8a97fcbf 100644 (file)
--- a/if-bsd.c
+++ b/if-bsd.c
@@ -1032,7 +1032,7 @@ if_route6(unsigned char cmd, const struct rt6 *rt)
                }
 
                if (rtm.hdr.rtm_addrs & RTA_IFA) {
-                       struct ipv6_addr *lla;
+                       const struct ipv6_addr *lla;
 
                        lla = ipv6_linklocal(UNCONST(rt->iface));
                        if (lla == NULL) /* unlikely */