mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-12 10:31:51 +00:00
Remove error for some alias interface in omr-bypass
This commit is contained in:
parent
c1c6366122
commit
2cef60a0c5
1 changed files with 1 additions and 0 deletions
|
@ -615,6 +615,7 @@ _intf_rule() {
|
|||
[ -n "$(echo $intf | grep '@')" ] && intf=$(ifstatus "$1" | jsonfilter -q -e '@["device"]')
|
||||
[ -z "$intf" ] && config_get intf $1 device
|
||||
[ -n "$(echo $intf | grep '/')" ] && return
|
||||
[ -n "$(echo $intf | grep '@')" ] && return
|
||||
#count=$((count+1))
|
||||
[ "$intf" != "all" ] && config_get count $1 metric
|
||||
[ "$intf" = "all" ] && count=""
|
||||
|
|
Loading…
Reference in a new issue