SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
14
net/iperf3/patches/patch-src_iperf_api_c
Normal file
14
net/iperf3/patches/patch-src_iperf_api_c
Normal file
|
@ -0,0 +1,14 @@
|
|||
Default to IPv4.
|
||||
|
||||
Index: src/iperf_api.c
|
||||
--- src/iperf_api.c.orig
|
||||
+++ src/iperf_api.c
|
||||
@@ -2860,7 +2860,7 @@ iperf_defaults(struct iperf_test *testp)
|
||||
testp->stats_interval = testp->reporter_interval = 1;
|
||||
testp->num_streams = 1;
|
||||
|
||||
- testp->settings->domain = AF_UNSPEC;
|
||||
+ testp->settings->domain = AF_INET;
|
||||
testp->settings->unit_format = 'a';
|
||||
testp->settings->socket_bufsize = 0; /* use autotuning */
|
||||
testp->settings->blksize = DEFAULT_TCP_BLKSIZE;
|
Loading…
Add table
Add a link
Reference in a new issue