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 b38c70b..a7c1b18 100644
--- a/anytun.cpp
+++ b/anytun.cpp
@@ -85,7 +85,7 @@ void* sender(void* p)
param->c.cypher(pack);
// add header to packet
- pack.addHeader(param->opt.getSenderId(), seq);
+ pack.addHeader(seq, param->opt.getSenderId());
seq++;
// calc auth_tag and add it to the packet