From a742bbf8610aae58fc6d6ee2377c83395b3ca535 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 28 Feb 2008 01:57:42 +0000 Subject: fixed PlainPacket get Src/Dst Address added toString to NetworkAddress --- options.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'options.cpp') diff --git a/options.cpp b/options.cpp index 7e5cac6..2a2b144 100644 --- a/options.cpp +++ b/options.cpp @@ -176,6 +176,9 @@ bool Options::parse(int argc, char* argv[]) if(cipher_ == "null") kd_prf_ = "null"; + if(cipher_ != "null" && kd_prf_ == "null") + kd_prf_ = "aes-ctr"; + while(!host_port_queue.empty()) { std::stringstream tmp_stream(host_port_queue.front()); @@ -237,7 +240,7 @@ void Options::printOptions() std::cout << "cipher='" << cipher_ << "'" << std::endl; std::cout << "key=" << key_.getHexDumpOneLine() << std::endl; std::cout << "salt=" << salt_.getHexDumpOneLine() << std::endl; - std::cout << "kd-prf='" << kd_prf_ << "'" << std::endl; + std::cout << "kd_prf='" << kd_prf_ << "'" << std::endl; std::cout << "auth_algo='" << auth_algo_ << "'" << std::endl; } -- cgit v1.2.3