]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix IPFilter IPv6 detection, especially on NetBSD (#596)
authorsborrill <33655983+sborrill@users.noreply.github.com>
Fri, 1 May 2020 02:26:44 +0000 (02:26 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Mon, 4 May 2020 19:17:55 +0000 (19:17 +0000)
commit8433f1283239733d442db03b30c1efc96c7755a5
tree1612ab15aacd2874be01f5dc2f24a471df4dff06
parent6f9208167fcf1c27689de0f4f6a57138d267a19a
Fix IPFilter IPv6 detection, especially on NetBSD (#596)

Has been broken since 4eaf432.

1. acinclude/os-deps.m4 was missing sys/param.h header

2. acinclude/os-deps.m4 was incorrectly assuming that netinet/ip_nat.h
   header is always present

3. acinclude/os-deps.m4 was missing netinet/ip_nat.h header where it was
   used instead of ip_nat.h

4. src/ip/Intercept.cc assumed that AC_CHECK_MEMBERS(`struct X`)
   outputs `HAVE_X`, but it actually outputs `HAVE_STRUCT_X`.

5. acinclude/os-deps.m4: AC_CHECK_MEMBERS(`X  `) converted trailing
   whitespace into surprising trailing underscores: `HAVE_X__`
acinclude/os-deps.m4
src/ip/Intercept.cc