diff options
author | Bruce A. Mah <bmah@es.net> | 2014-03-14 14:23:38 -0700 |
---|---|---|
committer | Bruce A. Mah <bmah@es.net> | 2014-03-14 14:23:38 -0700 |
commit | aeb6938d5ab2e3c2c72a5831fbf87ce7cfb21f1d (patch) | |
tree | c17c8871d2ae89a60e78cb059bd7a839ee39475f /src/iperf.h | |
parent | 3f5f7f759186c7fa21a5d00738e88b2f40a3dbee (diff) | |
download | iperf3-aeb6938d5ab2e3c2c72a5831fbf87ce7cfb21f1d.tar.gz |
Support --logfile argument to make all output go to a file.
This works for both client and server side (in the case of the server,
either for daemon or non-daemon mode).
Consistifies a few places that were using printf instead of iprintf.
Fixes Issue 119.
Diffstat (limited to 'src/iperf.h')
-rw-r--r-- | src/iperf.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/iperf.h b/src/iperf.h index 188f06a..22037df 100644 --- a/src/iperf.h +++ b/src/iperf.h @@ -174,6 +174,9 @@ struct iperf_test char *congestion; /* -C option */ char *pidfile; /* -P option */ + char *logfile; /* --logfile option */ + FILE *outfile; + int ctrl_sck; int listener; int prot_listener; |