Re: [Dnsmasq-discuss] v2.88rc2 segmentation fault with config "local=//"

2022-11-17 Thread Johnny S. Lee via Dnsmasq-discuss
After further tests, `dnsmasq -d --local=//` OK `dnsmasq -d -H file --local=//` Segmentation fault On Fri, 18 Nov 2022 at 02:26, Johnny S. Lee <_...@jsl.io> wrote: > > "local=//" means "Do not forward unqualified names to any upstream > servers", right? > It has not generated any kind of error

[Dnsmasq-discuss] v2.88rc2 segmentation fault with config "local=//"

2022-11-17 Thread Johnny S. Lee via Dnsmasq-discuss
"local=//" means "Do not forward unqualified names to any upstream servers", right? It has not generated any kind of error until I updated to v2.88rc2. The last build I've been using was built against d3c21c596ef96027429b11216fcdbf65c9434afa ___

[Dnsmasq-discuss] v2.88rc1 build errors on BSD

2022-11-16 Thread Johnny S. Lee via Dnsmasq-discuss
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 =

Re: [Dnsmasq-discuss] v2.88rc1 build errors on BSD

2022-11-16 Thread Johnny S. Lee via Dnsmasq-discuss
Adding 'sdetails->' to all three of them seems to fix the errors. On Thu, 17 Nov 2022 at 07:50, Johnny S. Lee <_...@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

Re: [Dnsmasq-discuss] Snapshot archives downloaded from gitweb are not versioned properly

2022-09-13 Thread Johnny S. Lee via Dnsmasq-discuss
to git help log. > > > > I'm not clear what the difference between that and %(describe) is. The > > substituted value is used subtly in get-version as part of the > > build-process, so we need to be a little careful about changing things. > > > > When the bui

Re: [Dnsmasq-discuss] Snapshot archives downloaded from gitweb are not versioned properly

2022-09-12 Thread Johnny S. Lee via Dnsmasq-discuss
e careful about changing things. > > When the build runs on a fully-fledged git repo, rather than a tar file > extracted from one, get-version does run "git describe". This isn't the > case during the automated build, however. > > > Simon. > > > On 12/09/2022 0

Re: [Dnsmasq-discuss] Snapshot archives downloaded from gitweb are not versioned properly

2022-09-12 Thread Johnny S. Lee via Dnsmasq-discuss
> Geert Stappers via Dnsmasq-discuss > wrote: > > > Hello Johnny, > > ( Cc: dnsmasq-discuss@lists.thekelleys.org.uk ) > > > > > > On Mon, Sep 12, 2022 at 11:51:22AM +0800, Johnny S. Lee via Dnsmasq-discuss > > wrote: > > > The contents of file

Re: [Dnsmasq-discuss] Snapshot archives downloaded from gitweb are not versioned properly

2022-09-12 Thread Johnny S. Lee via Dnsmasq-discuss
Hello Geert, On Mon, 12 Sept 2022 at 14:26, Geert Stappers wrote: > > Hello Johnny, > ( Cc: dnsmasq-discuss@lists.thekelleys.org.uk ) > > > On Mon, Sep 12, 2022 at 11:51:22AM +0800, Johnny S. Lee via Dnsmasq-discuss > wrote: > > The contents of file VERSION from the t

[Dnsmasq-discuss] Snapshot archives downloaded from gitweb are not versioned properly

2022-09-11 Thread Johnny S. Lee via Dnsmasq-discuss
The contents of file VERSION from the tar.gz files of the latest 3 commits: dnsmasq-c4b9bc6/VERSION: (HEAD -> master) dnsmasq-4447d48/VERSION: (tag: v2.87rc1, origin/master, origin/HEAD) dnsmasq-04cc2ae/VERSION: Would it be better adding "%(describe)" to the format in file VERSION?

[Dnsmasq-discuss] v2.87test7 compile error on BSD

2022-02-03 Thread Johnny S. Lee via Dnsmasq-discuss
The following error occurred when compiling on FreeBSD 13 dhcp.c:461:60: error: incompatible operand types ('in_addr_t' (aka 'unsigned int') and 'struct in_addr') dest.sin_addr.s_addr = (ntohs(mess->flags) & 0x8000) ? INADDR_BROADCAST : mess->yiaddr;