dhcpcd-discuss

Re: dhcpcd-9.1.0 released

Juergen Daubert

Sun May 31 17:39:07 2020

On Sun, May 31, 2020 at 04:41:36PM +0100, Roy Marples wrote:
> 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?

Sorry, no. Exact the same error messages.

> 
> 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)
> 

Follow-Ups:
Re: dhcpcd-9.1.0 releasedRoy Marples
References:
dhcpcd-9.1.0 releasedRoy Marples
Re: dhcpcd-9.1.0 releasedJuergen Daubert
Re: dhcpcd-9.1.0 releasedRoy Marples
Archive administrator: postmaster@marples.name