]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug 4828: Use feature detection for IPFilter API/ABI checks (#177) M-staged-PR177
authorAmos Jeffries <yadij@users.noreply.github.com>
Wed, 14 Mar 2018 16:50:54 +0000 (16:50 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Fri, 16 Mar 2018 04:32:58 +0000 (04:32 +0000)
commitd63e24604876152c83bf23ad6fb3184a4acf2835
tree684fa022212c1126fbd7795089ab73e712ee90c9
parent2db9989c5c4397458ef9ef43f8698844cd9ffcea
Bug 4828: Use feature detection for IPFilter API/ABI checks (#177)

Solaris 10+ backported IPFiter v5 features to their v4.1.9 which breaks
the IPFilterv4 logic when IPv6 is received. Resulting in crashes when
IPFilver version detection builds for IPv4-only code.

Fix by switching to feature detection of the relevant library symbols
instead of library version.
acinclude/os-deps.m4
src/ip/Intercept.cc