diff options
-rw-r--r-- | doc/uanytun.8.txt | 12 | ||||
-rw-r--r-- | src/options.c | 2 |
2 files changed, 1 insertions, 13 deletions
diff --git a/doc/uanytun.8.txt b/doc/uanytun.8.txt index 24e0e14..01d191f 100644 --- a/doc/uanytun.8.txt +++ b/doc/uanytun.8.txt @@ -30,7 +30,6 @@ SYNOPSIS [ *-s|--sender-id* <sender id> ] [ *-w|--window-size* <window size> ] [ *-k|--kd-prf* <kd-prf type> ] -[ *-l|--ld-kdr* <ld-kdr> ] [ *-O|--anytun02-compat* ] [ *-E|--passphrase* <pass phrase> ] [ *-K|--key* <master key> ] @@ -239,17 +238,6 @@ Possible values: * *aes-ctr-192* - AES in counter mode with 192 Bits * *aes-ctr-256* - AES in counter mode with 256 Bits --l|--ld-kdr <ld-kdr> -~~~~~~~~~~~~~~~~~~~~ - -The log2 of the key derivation rate. This is used by the key -derivation to determine how often a new session key has to be -generated. A value of -1 means to generate only one key and use -it forever. The default is 0 which means to calculate a new key -for every packet. A value of 1 would tell the key derivation -to generate a new key after 2 packets, for 2 its 4 packets and -so on. - -O|--anytun02-compat ~~~~~~~~~~~~~~~~~~~~ diff --git a/src/options.c b/src/options.c index 39a1ddb..f15d6b8 100644 --- a/src/options.c +++ b/src/options.c @@ -417,7 +417,7 @@ 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(" [-l|--ld-kdr] <ld-kdr> log2 of key derivation rate\n"); +// printf(" [-l|--ld-kdr] <ld-kdr> log2 of key derivation rate\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"); |