summaryrefslogtreecommitdiff
path: root/src/connectionList.cpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2009-04-07 00:16:12 +0000
committerChristian Pointner <equinox@anytun.org>2009-04-07 00:16:12 +0000
commit613afe3c92c202da1900ef2f7000425f6baabb9e (patch)
tree7e900a854b2377b78265a16fb7c1649067058ecc /src/connectionList.cpp
parentsome cleanup at new draft (diff)
removed anytun02-compat mode
Diffstat (limited to 'src/connectionList.cpp')
-rw-r--r--src/connectionList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connectionList.cpp b/src/connectionList.cpp
index b21102a..6402711 100644
--- a/src/connectionList.cpp
+++ b/src/connectionList.cpp
@@ -128,7 +128,7 @@ ConnectionParam & ConnectionList::getOrNewConnectionUnlocked(u_int16_t mux)
SeqWindow * seq= new SeqWindow(0);
seq_nr_t seq_nr_=0;
- KeyDerivation * kd = KeyDerivationFactory::create(gOpt.getKdPrf(), gOpt.getAnytun02Compat());
+ KeyDerivation * kd = KeyDerivationFactory::create(gOpt.getKdPrf());
kd->init(Buffer(key, sizeof(key)), Buffer(salt, sizeof(salt)));
ConnectionParam conn ((*kd), (*seq), seq_nr_, PacketSourceEndpoint());
connections_.insert(ConnectionMap::value_type(mux, conn));