diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-09-21 18:00:10 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-09-21 18:00:10 +0100 |
commit | 265dbe5dbc14c199299496c6db8fce3f76647015 (patch) | |
tree | ab18b5617d138f6684566b619405090989d55a2c /net-analyzer/fping/files/fping-4.1-ipv6.patch | |
parent | 586819755b4dbfdffdc8a725ab7c0f86095b8489 (diff) |
gentoo resync : 21.09.2018
Diffstat (limited to 'net-analyzer/fping/files/fping-4.1-ipv6.patch')
-rw-r--r-- | net-analyzer/fping/files/fping-4.1-ipv6.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net-analyzer/fping/files/fping-4.1-ipv6.patch b/net-analyzer/fping/files/fping-4.1-ipv6.patch new file mode 100644 index 000000000000..7889b568a194 --- /dev/null +++ b/net-analyzer/fping/files/fping-4.1-ipv6.patch @@ -0,0 +1,15 @@ +--- a/src/fping.c ++++ b/src/fping.c +@@ -687,7 +687,11 @@ int main(int argc, char** argv) + + /* validate various option settings */ + +- if (socket4 < 0 && socket6 < 0) { ++ if (socket4 < 0 ++#ifdef IPV6 ++ && socket6 < 0 ++#endif ++ ) { + crash_and_burn("can't create socket (must run as root?)"); + } + |