]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Wups, not the same type.
authorRoy Marples <roy@marples.name>
Fri, 13 Mar 2015 22:13:46 +0000 (22:13 +0000)
committerRoy Marples <roy@marples.name>
Fri, 13 Mar 2015 22:13:46 +0000 (22:13 +0000)
ipv6nd.c

index 9854af18f84976bbfbaf0a86134c01895b572f70..8e3a92fd52d2cc21ddf087ff9264998cf7e1932f 100644 (file)
--- a/ipv6nd.c
+++ b/ipv6nd.c
@@ -1541,7 +1541,8 @@ ipv6nd_handledata(void *arg)
                return;
        }
 
-       pkt.ipi6_ifindex = hoplimit = 0;
+       pkt.ipi6_ifindex = 0;
+       hoplimit = 0;
        for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(&ctx->rcvhdr);
             cm;
             cm = (struct cmsghdr *)CMSG_NXTHDR(&ctx->rcvhdr, cm))