commit d6c4dc16a2b44806c6d0c8c72f766baa70cc8aee parent ba308a41c83ab4cfdde6365693d17520e91e08c3 Author: sin <sin@2f30.org> Date: Mon, 21 Mar 2016 19:44:10 +0000 rate limit reconnects Diffstat:
M | stun.c | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/stun.c b/stun.c @@ -498,7 +498,9 @@ main(int argc, char *argv[]) if (sflag) return serversetup(tunfd); - for (;;) + for (;;) { clientsetup(tunfd); + sleep(1); + } return 0; }