mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
Fix build with IPV6 disabled
Submitted by: Alexey Milevsky <a.milevsky@gmail.com>
This commit is contained in:
parent
a7ac6e8106
commit
8704d8c51b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=558066
10
benchmarks/iperf/files/patch-src-SocketAddr.c
Normal file
10
benchmarks/iperf/files/patch-src-SocketAddr.c
Normal file
@ -0,0 +1,10 @@
|
||||
--- src/SocketAddr.c.orig 2020-11-30 18:53:55 UTC
|
||||
+++ src/SocketAddr.c
|
||||
@@ -87,6 +87,7 @@ void SockAddr_remoteAddr (struct thread_Settings *inSe
|
||||
inSettings->size_peer = sizeof(struct sockaddr_in);
|
||||
}
|
||||
#else
|
||||
+ }
|
||||
((struct sockaddr*)&inSettings->peer)->sa_family = AF_INET;
|
||||
inSettings->size_peer = sizeof(struct sockaddr_in);
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user