mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix clean on omr-bypass nft
This commit is contained in:
parent
d1724fd915
commit
127415b542
1 changed files with 1 additions and 1 deletions
|
@ -768,7 +768,7 @@ _delete_dhcp_ipset() {
|
||||||
}
|
}
|
||||||
|
|
||||||
_delete_firewall_rules() {
|
_delete_firewall_rules() {
|
||||||
[ -n "$(echo $1 | grep omr_dst_bypass)" ] && {
|
([ -n "$(echo $1 | grep omr_dst_bypass)" ] || [ -n "$(echo $1 | grep omr6_dst_bypass)" ]) && {
|
||||||
uci -q delete firewall.$1
|
uci -q delete firewall.$1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue