summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--anytun.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/anytun.cpp b/anytun.cpp
index c9da73a..69d4a9a 100644
--- a/anytun.cpp
+++ b/anytun.cpp
@@ -194,7 +194,7 @@ void* sender(void* p)
continue;
//TODO replace 0 with mux
ConnectionMap::iterator cit = param->cl.getConnection(0);
- if(cit!=param->cl.getEnd())
+ if(cit==param->cl.getEnd())
continue;
ConnectionParam & conn = cit->second;
// add payload type