[Dnsmasq-discuss] v2.88rc1 build errors on BSD
Johnny S. Lee
_ at jsl.io
Wed Nov 16 23:56:24 UTC 2022
Adding 'sdetails->' to all three of them seems to fix the errors.
On Thu, 17 Nov 2022 at 07:50, Johnny S. Lee <_ at jsl.io> wrote:
>
> When building on FreeBSD:
>
> option.c:970:7: error: use of undeclared identifier 'source_addr'
> source_addr->in.sin_len = addr->in.sin_len = sizeof(struct sockaddr_in);
> ^
> option.c:970:33: error: use of undeclared identifier 'addr'
> source_addr->in.sin_len = addr->in.sin_len = sizeof(struct sockaddr_in);
> ^
> option.c:1019:83: error: use of undeclared identifier 'addr'
> sdetails->addr->in6.sin6_len =
> sdetails->source_addr->in6.sin6_len = sizeof(addr->in6);
>
> ^
> 3 errors generated.
More information about the Dnsmasq-discuss
mailing list