mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 23:18:42 +01:00
shadowsocks-libev: setting mode with default value tcp_only
This is the default value taken by ss-server and ss-redir. After this change ss_rules section can still use those ss-redir instances who do not have mode explicitly specified. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
This commit is contained in:
@@ -274,7 +274,7 @@ validate_common_options_() {
|
||||
'ipv6_first:bool:0' \
|
||||
'reuse_port:bool:0' \
|
||||
'verbose:bool:0' \
|
||||
'mode:or("tcp_only", "udp_only", "tcp_and_udp")' \
|
||||
'mode:or("tcp_only", "udp_only", "tcp_and_udp"):tcp_only' \
|
||||
'mtu:uinteger' \
|
||||
'timeout:uinteger' \
|
||||
'user:string'
|
||||
|
||||
Reference in New Issue
Block a user