summaryrefslogtreecommitdiff
path: root/anytun.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'anytun.cpp')
-rw-r--r--anytun.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/anytun.cpp b/anytun.cpp
index a165534..8c5d7af 100644
--- a/anytun.cpp
+++ b/anytun.cpp
@@ -194,7 +194,7 @@ void* sender(void* p)
if( param->cl.empty())
continue;
- ConnectionParam conn = param->cl.getConnection();
+ ConnectionParam & conn = param->cl.getConnection();
// add payload type
if(param->dev.getType() == TunDevice::TYPE_TUN)
pack.addPayloadType(PAYLOAD_TYPE_TUN);