Commit 71e62b64 authored by nanahira's avatar nanahira

fix

parent 7ce44dfb
......@@ -57,7 +57,7 @@ interface_switch_china() {
IPSET=$2
MARK=$3
ipset create "$IPSET" hash:net maxelem 1000000 || true
$IPTABLES_EXEC -t mangle "$OPTION" NEXTGEN_SWITCH -m mark --mark 0 -m set --match-set "$IPSET" src -m set ! --match-set mycard dst ! -m set --match-set chnrouter dst -j CONNMARK --set-xmark "$MARK"
$IPTABLES_EXEC -t mangle "$OPTION" NEXTGEN_SWITCH -m mark --mark 0 -m set --match-set "$IPSET" src -m set ! --match-set mycard dst -m set ! --match-set chnrouter dst -j CONNMARK --set-xmark "$MARK"
}
interface_switch_oversea() {
......
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