Репозитории ALT
S: | 2.0.12-alt1 |
5.1: | 2.0.4-alt1 |
4.1: | 2.0.2-alt2 |
4.0: | 2.0.2-alt2 |
3.0: | 1.7.0-alt1.1 |
Группа :: Мониторинг
Пакет: iperf
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: 005-iperf-die-on-bind-fail.patch
Скачать
Скачать
Description: iperf die on bind fail
When iperf encounters a fatal error when binding to a port, such as
the port being already in use or lacking permission, it fails to give
fatal error, but instead pretends to continue to listen on the port.
Author: Deny IP Any Any <denyipanyany@gmail.com>
Bug-Debian: http://bugs.debian.org/517239
Forwarded: https://sourceforge.net/tracker/?func=detail&aid=3140400&group_id=128336&atid=711371
--- iperf-2.0.4/src/Listener.cpp 2009-02-23 16:20:31.000000000 -0500
+++ iperf-2.0.4-fixed/src/Listener.cpp 2009-02-23 16:20:40.000000000 -0500
@@ -333,7 +333,7 @@
#endif
{
rc = bind( mSettings->mSock, (sockaddr*) &mSettings->local, mSettings->size_local );
- WARN_errno( rc == SOCKET_ERROR, "bind" );
+ FAIL_errno( rc == SOCKET_ERROR, "bind", mSettings );
}
// listen for connections (TCP only).
// default backlog traditionally 5