From: Roy Marples Date: Mon, 6 Oct 2014 08:31:57 +0000 (+0000) Subject: Fix compile on Linux X-Git-Tag: v6.5.0~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7965131ae8b94df2231457a56cf9a87bd58b4819;p=thirdparty%2Fdhcpcd.git Fix compile on Linux --- diff --git a/if-linux.c b/if-linux.c index c6496c51..031b783d 100644 --- a/if-linux.c +++ b/if-linux.c @@ -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);