Commit fd9d712a authored by nanahira's avatar nanahira

fix

parent b5d62c22
......@@ -72,8 +72,8 @@ interface_switch_pcc() {
OPTION=$1
ISP=$2
MARK=$3
SRC=$3
DST=$4
SRC=$4
DST=$5
ipset create "$IPSET" hash:net maxelem 1000000 || true
$IPTABLES_EXEC -t mangle "$OPTION" NEXTGEN_SWITCH -m mark --mark 0 -m set --match-set mycard src -m set ! --match-set "u_${ISP}_oversea" src -m set ! --match-set "u_${ISP}_china" src -m set ! --match-set mycard dst -s "$SRC" -d "$DST" -j CONNMARK --set-xmark "$MARK"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment