Browse Source

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>
lilik-openwrt-22.03
Yousong Zhou 7 years ago
parent
commit
d4ed4c1f21
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      net/shadowsocks-libev/Makefile
  2. +1
    -1
      net/shadowsocks-libev/files/shadowsocks-libev.init

+ 2
- 2
net/shadowsocks-libev/Makefile View File

@ -10,11 +10,11 @@ include $(TOPDIR)/rules.mk
# Checklist when bumping versions
#
# - update cipher list by checking src/crypto.c:crypto_init()
# - check if ss-rules has been upstreamed
# - check if default mode has changed from being tcp_only
#
PKG_NAME:=shadowsocks-libev
PKG_VERSION:=3.0.8
PKG_RELEASE:=4
PKG_RELEASE:=5
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/shadowsocks/shadowsocks-libev/releases/download/v$(PKG_VERSION)


+ 1
- 1
net/shadowsocks-libev/files/shadowsocks-libev.init View File

@ -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'


Loading…
Cancel
Save