]> The Tcpdump Group git mirrors - libpcap/commit
Remove the "disable IPv6" build option. coverity_scan 1504/head
authorDenis Ovsienko <[email protected]>
Wed, 9 Apr 2025 14:54:43 +0000 (15:54 +0100)
committerDenis Ovsienko <[email protected]>
Thu, 24 Apr 2025 20:03:58 +0000 (21:03 +0100)
commitab39bf93f3c3ede3227aed4af3fa521c7f3c319d
tree931350c8f4b863854c90f0744f1695f727f28008
parenta027fdcadc45405550c5ed79969cab24f3794067
Remove the "disable IPv6" build option.

For quite a while --enable-ipv6 and its CMake equivalent have been the
default; one effect of --disable-ipv6 (and its CMake equivalent) was
enabling the "gateway" primitive, but this is no longer the case, other
effects are:

* disabling the [self-implemented] IPv6 address string parsing,
* ignoring AF_INET6 results from getaddrinfo(3), and
* making "link proto \ip6" an invalid syntax.

Other than that, after many developments in the 25 years since commit
7fe3c11 building "without" IPv6 no longer manages any external
dependencies, so it is time to defragment this solution space.  Remove
all INET6 conditionals from the C source code and the tests, remove the
build options from Autoconf and CMake, in the build matrix scripts
replace IPV6 with PROTOCHAIN.
12 files changed:
CHANGES
CMakeLists.txt
build.sh
build_matrix.sh
cmakeconfig.h.in
configure.ac
gencode.c
gencode.h
grammar.y.in
nametoaddr.c
scanner.l
testprogs/TESTrun