mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-13 02:51:50 +00:00
Use string without mark number
This commit is contained in:
parent
598f2f43fa
commit
d4ac85f242
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ start_service() {
|
|||
|
||||
ip rule add prio 1 fwmark 0x539 lookup 991337 > /dev/null 2>&1
|
||||
|
||||
if [ "$(iptables -t mangle -L | grep 'MARK set 0x539')" = "" ]; then
|
||||
if [ "$(iptables -t mangle -L | grep 'match-set ss_rules_dst_bypass dst MARK set')" = "" ]; then
|
||||
iptables-restore --noflush <<-EOF
|
||||
*mangle
|
||||
-A PREROUTING -m set --match-set ss_rules_dst_bypass dst -j MARK --set-mark 0x539
|
||||
|
|
Loading…
Reference in a new issue