diff options
author | Jorgen Schaefer <contact@jorgenschaefer.de> | 2015-12-10 13:24:45 +0100 |
---|---|---|
committer | Jorgen Schaefer <contact@jorgenschaefer.de> | 2015-12-10 13:47:19 +0100 |
commit | 7377964d4c9791a29e3679bafc65f6bfbb0bb019 (patch) | |
tree | 97b24b86ea192c760969c6fb6a4db9bd429a5f2e /src/test/Makefile | |
parent | 312501458d119704e27e14ef59a18f612757421c (diff) |
Use /proc/net/sockstat6 to detect IPv6 support
The file /sys/module/ipv6 does not exist in all container
implementations (e.g. Virtuozzo). Using /proc/net/sockstat6
detects IPv6 support reliably in these environments, too.
This file does not exist when the kernel is not compiled with
IPv6 support, or if IPv6 support is disabled, so simply checking
for existence should be a suitable check.
Fixes #2059
Diffstat (limited to 'src/test/Makefile')
0 files changed, 0 insertions, 0 deletions