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:
M | stun.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; }