mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Add a -w for v2ray iptables
This commit is contained in:
parent
22be274027
commit
77045a786d
1 changed files with 1 additions and 1 deletions
|
@ -2081,7 +2081,7 @@ start_instance() {
|
|||
}
|
||||
|
||||
rules_exist() {
|
||||
[ -n "$(iptables -t nat -L -n | grep v2r_)" ] && return 0
|
||||
[ -n "$(iptables -w -t nat -L -n | grep v2r_)" ] && return 0
|
||||
return 1
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue