Browse Source

shadowsocks-libev: ss-rules: eliminiate not needed local var

lilik-openwrt-22.03
Yousong Zhou 7 years ago
parent
commit
0931d35319
2 changed files with 1 additions and 2 deletions
  1. +1
    -1
      net/shadowsocks-libev/Makefile
  2. +0
    -1
      net/shadowsocks-libev/files/ss-rules

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

@ -14,7 +14,7 @@ include $(TOPDIR)/rules.mk
# #
PKG_NAME:=shadowsocks-libev PKG_NAME:=shadowsocks-libev
PKG_VERSION:=3.0.8 PKG_VERSION:=3.0.8
PKG_RELEASE:=15
PKG_RELEASE:=16
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)


+ 0
- 1
net/shadowsocks-libev/files/ss-rules View File

@ -159,7 +159,6 @@ ss_rules_iptchains_init() {
} }
ss_rules_iptchains_init_tcp() { ss_rules_iptchains_init_tcp() {
local ipt="iptables -t nat"
local local_target local local_target
[ -n "$o_redir_tcp_port" ] || return 0 [ -n "$o_redir_tcp_port" ] || return 0


Loading…
Cancel
Save