warp-vpn

point to point VPN implementation
git clone git://git.2f30.org/warp-vpn
Log | Files | Refs | README

commit 5a5d8ecd6a4a52eabdc28616e455350e0a15da73
parent 1300c32520ee2a36fd9a8882af4be707a55fb100
Author: sin <sin@2f30.org>
Date:   Mon, 21 Mar 2016 11:36:09 +0000

print some debug if challenge-response fails

Diffstat:
Mstun.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/stun.c b/stun.c @@ -355,6 +355,8 @@ serversetup(int tunfd) ret = challenge(netfd); if (ret < 0) { + if (debug) + warnx("challenge-response failed"); close(netfd); continue; }