Re: dhcpcd-9.1.0 released
Roy Marples
Sun May 31 16:41:37 2020
Hi Jurgen
On 31/05/2020 16:18, Juergen Daubert wrote:
thanks for the new release, however it seems to be broken again
for a ipv4-only host, using -4 doesn't help. This is on a CRUX
linux system.
Does this patch fix it?
diff --git a/src/privsep-inet.c b/src/privsep-inet.c
index 8bf0474c..87ba4eb5 100644
--- a/src/privsep-inet.c
+++ b/src/privsep-inet.c
@@ -170,8 +170,8 @@ ps_inet_startcb(void *arg)
}
#endif
#ifdef DHCP6
- if ((ctx->options & (DHCPCD_DHCP6 | DHCPCD_MASTER)) ==
- (DHCPCD_DHCP6 | DHCPCD_MASTER))
+ if ((ctx->options & (DHCPCD_IPV6 | DHCPCD_DHCP6 | DHCPCD_MASTER)) ==
+ (DHCPCD_IPV6 | DHCPCD_DHCP6 | DHCPCD_MASTER))
{
ctx->dhcp6_rfd = dhcp6_openudp(0, NULL);
if (ctx->dhcp6_rfd == -1)
Archive administrator: postmaster@marples.name