shadowsocks-libev: remove unnecessary curly braces
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
This commit is contained in:
parent
4d211674ce
commit
805c6b0ecf
|
@ -14,7 +14,7 @@ include $(TOPDIR)/rules.mk
|
||||||
#
|
#
|
||||||
PKG_NAME:=shadowsocks-libev
|
PKG_NAME:=shadowsocks-libev
|
||||||
PKG_VERSION:=3.1.3
|
PKG_VERSION:=3.1.3
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://github.com/shadowsocks/shadowsocks-libev/releases/download/v$(PKG_VERSION)
|
PKG_SOURCE_URL:=https://github.com/shadowsocks/shadowsocks-libev/releases/download/v$(PKG_VERSION)
|
||||||
|
|
|
@ -264,15 +264,15 @@ validate_common_options_() {
|
||||||
}
|
}
|
||||||
|
|
||||||
validate_server_section() {
|
validate_server_section() {
|
||||||
validate_common_server_options_ server "$1" "${2}"
|
validate_common_server_options_ server "$1" "$2"
|
||||||
}
|
}
|
||||||
|
|
||||||
validate_ss_local_section() {
|
validate_ss_local_section() {
|
||||||
validate_common_client_options_ ss_local "$1" "${2}"
|
validate_common_client_options_ ss_local "$1" "$2"
|
||||||
}
|
}
|
||||||
|
|
||||||
validate_ss_redir_section() {
|
validate_ss_redir_section() {
|
||||||
validate_common_client_options_ ss_redir "$1" "${2}"
|
validate_common_client_options_ ss_redir "$1" "$2"
|
||||||
}
|
}
|
||||||
|
|
||||||
validate_ss_rules_section() {
|
validate_ss_rules_section() {
|
||||||
|
@ -298,12 +298,12 @@ validate_ss_rules_section() {
|
||||||
validate_ss_server_section() {
|
validate_ss_server_section() {
|
||||||
validate_common_server_options_ ss_server "$1" \
|
validate_common_server_options_ ss_server "$1" \
|
||||||
validate_common_options_ \
|
validate_common_options_ \
|
||||||
"${2}" \
|
"$2" \
|
||||||
'bind_address:ipaddr'
|
'bind_address:ipaddr'
|
||||||
}
|
}
|
||||||
|
|
||||||
validate_ss_tunnel_section() {
|
validate_ss_tunnel_section() {
|
||||||
validate_common_client_options_ ss_tunnel "$1" \
|
validate_common_client_options_ ss_tunnel "$1" \
|
||||||
"${2}" \
|
"$2" \
|
||||||
'tunnel_address:regex(".+\:[0-9]+")'
|
'tunnel_address:regex(".+\:[0-9]+")'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue