summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-09-18 15:38:08 +0200
committerJeroen Roovers <jer@gentoo.org>2018-09-18 15:38:08 +0200
commit216d72e341996af2e80979550b403bdc46ab02e8 (patch)
treeded413930da8cb7132a8f4f827a4832b900ac6b6 /net-analyzer/fping/files
parentdev-util/debhelper: Version 11.4. (diff)
downloadgentoo-216d72e341996af2e80979550b403bdc46ab02e8.tar.gz
gentoo-216d72e341996af2e80979550b403bdc46ab02e8.tar.bz2
gentoo-216d72e341996af2e80979550b403bdc46ab02e8.zip
net-analyzer/fping: Version 4.1.
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'net-analyzer/fping/files')
-rw-r--r--net-analyzer/fping/files/fping-4.1-ipv6.patch15
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 00000000000..7889b568a19
--- /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?)");
+ }
+