Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37713858
en ru br
ALT Linux repositórios
S:2.0.12-alt1
5.0: 2.0.4-alt1
4.1: 2.0.2-alt2
4.0: 2.0.2-alt2
3.0: 1.7.0-alt1.1

Group :: Monitoramento
RPM: iperf

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: 005-iperf-die-on-bind-fail.patch
Download


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
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009