1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Fix XRay remove rules

This commit is contained in:
Ycarus (Yannick Chabanois) 2023-11-17 17:35:19 +01:00
parent b52d3584e5
commit a567f7f8a2

View file

@ -2244,7 +2244,7 @@ start_instance() {
}
rules_exist() {
[ -n "$(iptables -w -t nat -L -n 2>/dev/null | grep v2r_)" ] && return 0
[ -n "$(iptables -w -t nat -L -n 2>/dev/null | grep xr_)" ] && return 0
return 1
}