1
0
Fork 0
mirror of https://github.com/yarrick/iodine.git synced 2025-04-11 04:50:55 +00:00

iodined.c: Fix stun timeout.

Signed-off-by: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
This commit is contained in:
Ying-Chun Liu (PaulLiu) 2016-04-29 13:56:58 +08:00
parent cb5450dba7
commit ac71deeb88

View file

@ -252,7 +252,7 @@ get_external_ip_by_stun(struct in_addr *ip, const char *stun_server)
if (res2 == 0) { if (res2 == 0) {
/* timeout */ /* timeout */
res = 7; res = 7;
continue; break;
} }
if (res2 != 1) { if (res2 != 1) {
res = 8; res = 8;