From 0014f8b41be54e63da4669547eb059f495fc2917 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Mon, 15 May 2017 11:15:40 +0200 Subject: [PATCH] UDP bind debug message added on INFO level for success (same as TCP bind) --- lib/socket.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/socket.cpp b/lib/socket.cpp index 47293c8e..41883955 100644 --- a/lib/socket.cpp +++ b/lib/socket.cpp @@ -1220,6 +1220,7 @@ uint16_t Socket::UDPConnection::bind(int port, std::string iface, const std::str } } if (::bind(sock, rp->ai_addr, rp->ai_addrlen) == 0){ + INFO_MSG("UDP bind success on %s:%s (%s)", human_addr, human_port, addrFam(rp->ai_family)); break; } if (err_str.size()){err_str += ", ";}