From: Roy Marples Date: Mon, 15 Feb 2016 09:59:38 +0000 (+0000) Subject: This can be const at least. X-Git-Tag: v6.10.2~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad70dbc7afca66e0027a4f232d800f557c4dbdd8;p=thirdparty%2Fdhcpcd.git This can be const at least. --- diff --git a/if-bsd.c b/if-bsd.c index ee7affa8..2c44ea8c 100644 --- 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 */