diff options
author | Erwin Nindl <nine@wirdorange.org> | 2007-07-19 12:14:26 +0000 |
---|---|---|
committer | Erwin Nindl <nine@wirdorange.org> | 2007-07-19 12:14:26 +0000 |
commit | cb69b4b11be233cb17efcafecfe2ce280b178259 (patch) | |
tree | 7ae255fd8d18d765dd244137fc42075488e575e4 /anytun.cpp | |
parent | compiles again, libsrtp now under /usr/local/lib/libsrtp.a (diff) |
* added doc directory
* changed AesIcmCypher::getBitStream
Diffstat (limited to 'anytun.cpp')
-rw-r--r-- | anytun.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -82,7 +82,7 @@ void* sender(void* p) pack.addPayloadType(0); // cypher the packet - param->c.cypher(pack); + param->c.cypher(pack, seq, param->opt.getSenderId()); // add header to packet pack.addHeader(seq, param->opt.getSenderId()); @@ -132,7 +132,7 @@ void* receiver(void* p) pack.removeHeader(); // decypher the packet - param->c.cypher(pack); + param->c.cypher(pack, pack.getSeqNr(), pack.getSenderId()); // check payload_type and remove it if((param->dev.getType() == TunDevice::TYPE_TUN && pack.getPayloadType() != PAYLOAD_TYPE_TUN) || |