1
0
Fork 0
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:
Ycarus (Yannick Chabanois) 2021-05-22 08:43:10 +02:00
parent 22be274027
commit 77045a786d

View file

@ -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
}