diff options
author | Christian Pointner <equinox@anytun.org> | 2009-03-17 12:28:56 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2009-03-17 12:28:56 +0000 |
commit | 3ace50d8eef058d378169c913d727bcb7d25a07e (patch) | |
tree | 8b744858c5a7f4546cf3795d4e70e6f96d91be71 /src/anytun.cpp | |
parent | added SIGERROR to signal Controller (diff) |
removed key derivation rate entirely
added new role based label
updated configs and manpages
Diffstat (limited to 'src/anytun.cpp')
-rw-r--r-- | src/anytun.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/anytun.cpp b/src/anytun.cpp index ef46a5e..c19ceb5 100644 --- a/src/anytun.cpp +++ b/src/anytun.cpp @@ -86,7 +86,7 @@ void createConnection(const PacketSourceEndpoint & remote_end, window_size_t seq seq_nr_t seq_nr_=0; KeyDerivation * kd = KeyDerivationFactory::create(gOpt.getKdPrf(), gOpt.getAnytun02Compat()); kd->init(gOpt.getKey(), gOpt.getSalt(), gOpt.getPassphrase()); - kd->setLogKDRate(gOpt.getLdKdr()); + kd->setRole(gOpt.getRole()); cLog.msg(Log::PRIO_NOTICE) << "added connection remote host " << remote_end; ConnectionParam connparam ((*kd), (*seq), seq_nr_, remote_end); @@ -419,7 +419,6 @@ int main(int argc, char* argv[]) cLog.msg(Log::PRIO_NOTICE) << "anytun started..."; gOpt.parse_post(); // print warnings - // daemonizing has to done before any thread gets started #ifndef NO_DAEMON #ifndef NO_PRIVDROP |