From b0a4f8f8f7912b6904185b1047cc653a7b2bbdb3 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Tue, 17 Mar 2009 16:13:11 +0000 Subject: added deprecated warning for anytun02-compat updated configs (new option auth-tag-length) --- src/options.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/options.c') diff --git a/src/options.c b/src/options.c index e4112e0..f985fc8 100644 --- a/src/options.c +++ b/src/options.c @@ -320,6 +320,9 @@ void options_parse_post(options_t* opt) } #endif + if(opt->anytun02_compat_) + log_printf(WARNING, "--anytun02-compat is deprecated and very likly to be removed by the next release"); + if(!(opt->dev_name_) && !(opt->dev_type_)) opt->dev_type_ = strdup("tun"); } @@ -443,7 +446,6 @@ void options_print_usage() printf(" [-w|--window-size] seqence number window size\n"); #ifndef NO_CRYPT printf(" [-k|--kd-prf] key derivation pseudo random function\n"); - printf(" [-O|--anytun02-compat] enable compatiblity mode for anytun 0.2.x and prior\n"); #ifndef NO_PASSPHRASE printf(" [-E|--passphrase] a passprhase to generate master key and salt from\n"); #endif -- cgit v1.2.3