aboutsummaryrefslogtreecommitdiff
path: root/src/iperf_error.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/iperf_error.c')
-rw-r--r--src/iperf_error.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/iperf_error.c b/src/iperf_error.c
index b080540..cfe4cbd 100644
--- a/src/iperf_error.c
+++ b/src/iperf_error.c
@@ -424,6 +424,10 @@ iperf_strerror(int int_errno)
case IETOTALRATE:
snprintf(errstr, len, "total required bandwidth is larger than server limit");
break;
+ default:
+ snprintf(errstr, len, "int_errno=%d", int_errno);
+ perr = 1;
+ break;
}
/* Append the result of strerror() or gai_strerror() if appropriate */