]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix compile on Linux
authorRoy Marples <roy@marples.name>
Mon, 6 Oct 2014 08:31:57 +0000 (08:31 +0000)
committerRoy Marples <roy@marples.name>
Mon, 6 Oct 2014 08:31:57 +0000 (08:31 +0000)
if-linux.c

index c6496c5110697e1f0851669526596a5c814bfd5f..031b783db7d2d78e22d9259db19268932aec8af4 100644 (file)
@@ -1473,7 +1473,7 @@ if_addrflags6(const struct in6_addr *addr, const struct interface *ifp)
                        errno = ENOTSUP;
                        return -1;
                }
-               if (strcmp(ifname, ifp->name) == 0 &&
+               if (strcmp(name, ifp->name) == 0 &&
                    strcmp(ifaddress, address) == 0)
                {
                        fclose(fp);