diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/anytun.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/anytun.cpp b/src/anytun.cpp index e8bfb13..0637997 100644 --- a/src/anytun.cpp +++ b/src/anytun.cpp @@ -179,13 +179,13 @@ void* sender(void* p) a->setKey(session_auth_key); a->generate(encrypted_packet); } -// try -// { + try + { param->src.send(encrypted_packet.getBuf(), encrypted_packet.getLength(), conn.remote_host_, conn.remote_port_); -// } -// catch (Exception e) -// { -// } + } + catch (Exception e) + { + } } pthread_exit(NULL); } |