mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
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:
@@ -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' \
|
||||
|
||||
Reference in New Issue
Block a user