kcptun: bump to v20190924, add new config options

This commit updates:
- bump version to v20190924
- add new options for latest release
  (https://github.com/xtaci/kcptun/releases/tag/v20190924)

Signed-off-by: Chao Liu <expiron18@gmail.com>
This commit is contained in:
Chao Liu
2019-10-25 22:41:14 +08:00
parent 00eda4bb0d
commit 68318682a7
4 changed files with 12 additions and 3 deletions
+4
View File
@@ -58,7 +58,9 @@ kcptun() {
[ -z "$dscp" ] || json_add_int dscp "$dscp"
json_add_boolean nocomp "$nocomp"
[ -z "$sockbuf" ] || json_add_int sockbuf "$sockbuf"
[ -z "$smuxver" ] || json_add_int smuxver "$smuxver"
[ -z "$smuxbuf" ] || json_add_int smuxbuf "$smuxbuf"
[ -z "$streambuf" ] || json_add_int streambuf "$streambuf"
[ -z "$keepalive" ] || json_add_int keepalive "$keepalive"
[ -z "$snmplog" ] || json_add_string snmplog "$snmplog"
[ -z "$snmpperiod" ] || json_add_int snmpperiod "$snmpperiod"
@@ -132,7 +134,9 @@ validate_common_options() {
'dscp:uinteger' \
'nocomp:bool' \
'sockbuf:uinteger' \
'smuxver:uinteger' \
'smuxbuf:uinteger' \
'streambuf:uinteger' \
'keepalive:uinteger' \
'snmplog:string' \
'snmpperiod:uinteger' \