diff options
author | Christian Pointner <equinox@anytun.org> | 2009-03-17 16:13:11 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2009-03-17 16:13:11 +0000 |
commit | b0a4f8f8f7912b6904185b1047cc653a7b2bbdb3 (patch) | |
tree | 17a8e0e1d43ab0eef7bf4b2908d64fd263d74920 /src/options.c | |
parent | updated manpage and sample configs (diff) |
added deprecated warning for anytun02-compat
updated configs (new option auth-tag-length)
Diffstat (limited to 'src/options.c')
-rw-r--r-- | src/options.c | 4 |
1 files changed, 3 insertions, 1 deletions
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] <window size> seqence number window size\n"); #ifndef NO_CRYPT printf(" [-k|--kd-prf] <kd-prf type> 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] <pass phrase> a passprhase to generate master key and salt from\n"); #endif |