From 728976e95cd25011c3ca29c9f6370a24ac3b5baf Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Sat, 3 May 2008 10:52:29 +0000 Subject: added catch of icmp unreachable (again) --- src/anytun.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src') 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); } -- cgit v1.2.3