projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0842998
)
Don't confuse users with "Address family not supported" warnings.
author
Guus Sliepen
<guus@tinc-vpn.org>
Mon, 6 Oct 2003 14:41:45 +0000
(14:41 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Mon, 6 Oct 2003 14:41:45 +0000
(14:41 +0000)
src/net_socket.c
patch
|
blob
|
history
diff --git
a/src/net_socket.c
b/src/net_socket.c
index
78e1ad2
..
10f2ca0
100644
(file)
--- a/
src/net_socket.c
+++ b/
src/net_socket.c
@@
-17,7
+17,7
@@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: net_socket.c,v 1.1.2.3
3 2003/07/29 22:59:00
guus Exp $
+ $Id: net_socket.c,v 1.1.2.3
4 2003/10/06 14:41:45
guus Exp $
*/
#include "system.h"
*/
#include "system.h"
@@
-62,7
+62,7
@@
int setup_listen_socket(const sockaddr_t *sa)
nfd = socket(sa->sa.sa_family, SOCK_STREAM, IPPROTO_TCP);
if(nfd < 0) {
nfd = socket(sa->sa.sa_family, SOCK_STREAM, IPPROTO_TCP);
if(nfd < 0) {
- logger(LOG_ERR, _("Creating metasocket failed: %s"), strerror(errno));
+
ifdebug(STATUS)
logger(LOG_ERR, _("Creating metasocket failed: %s"), strerror(errno));
return -1;
}
return -1;
}