From: Roy Marples Date: Wed, 17 May 2023 16:52:19 +0000 (+0100) Subject: dhcpcd: Fix waitip address family X-Git-Tag: v10.0.2~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=521afc22968c13c80425104ed1aeb7a3e7345501;p=thirdparty%2Fdhcpcd.git dhcpcd: Fix waitip address family Minor fix for #206. --- diff --git a/src/dhcpcd.c b/src/dhcpcd.c index 3fdc177d..e06733d3 100644 --- a/src/dhcpcd.c +++ b/src/dhcpcd.c @@ -256,7 +256,7 @@ dhcpcd_ifafwaiting(const struct interface *ifp) bool foundaddr = ipv6_hasaddr(ifp); if (opts & DHCPCD_WAITIP6 && !foundaddr) - return AF_INET; + return AF_INET6; if (foundaddr) foundany = true; }