aboutsummaryrefslogtreecommitdiff
path: root/src/iperf_error.c
diff options
context:
space:
mode:
authorJef Poskanzer <jef@mail.acme.com>2013-06-03 13:12:43 -0700
committerJef Poskanzer <jef@mail.acme.com>2013-06-03 13:12:43 -0700
commitc687db9da286f477b4c32eec640228e6c5e02a16 (patch)
tree7d9a5e48b71f11e8755711982e4535f710c3be1e /src/iperf_error.c
parent912bf5784f5a0cc27030b2610c5bd891a37e1dbb (diff)
downloadiperf3-c687db9da286f477b4c32eec640228e6c5e02a16.tar.gz
Storing the known-to-not-work Flow Label code, just to save it.
The user-visible parts are commented out or return a "not implemented yet" error message. The other parts are harmless. We'll come back to this once we figure out how exactly one sets the Flow Label.
Diffstat (limited to 'src/iperf_error.c')
-rw-r--r--src/iperf_error.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/iperf_error.c b/src/iperf_error.c
index d8c8010..c5d9910 100644
--- a/src/iperf_error.c
+++ b/src/iperf_error.c
@@ -99,6 +99,9 @@ iperf_strerror(int i_errno)
case IENOSENDFILE:
snprintf(errstr, len, "this OS does not support sendfile");
break;
+ case IEUNIMP:
+ snprintf(errstr, len, "an option you are trying to set is not implemented yet");
+ break;
case IENEWTEST:
snprintf(errstr, len, "unable to create a new test");
perr = 1;
@@ -203,6 +206,9 @@ iperf_strerror(int i_errno)
snprintf(errstr, len, "unable to set IPv6 traffic class");
perr = 1;
break;
+ case IESETFLOW:
+ snprintf(errstr, len, "unable to set IPv6 flow label");
+ break;
case IEREUSEADDR:
snprintf(errstr, len, "unable to reuse address on socket");
perr = 1;