stun

simple point to point tunnel
git clone git://git.2f30.org/stun
Log | Files | Refs | README

commit e8e577feb6009fe9feceb704902976aec4b3d6e6
parent 8a6dab5d2377662eddfda3016b7d08b0e77b5a92
Author: sin <sin@2f30.org>
Date:   Tue, 22 Mar 2016 12:08:47 +0000

include port in error message

Diffstat:
Mstun.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stun.c b/stun.c @@ -546,7 +546,7 @@ clientsetup(int tunfd) break; } if (!p) - logerr("failed to connect to %s", host); + logerr("failed to connect to %s:%s", host, port); freeaddrinfo(ai); setsockopt(netfd, IPPROTO_TCP, TCP_NODELAY, (int []){1}, sizeof(int));