1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-12 18:41:51 +00:00

Remove error for some alias interface in omr-bypass

This commit is contained in:
Ycarus (Yannick Chabanois) 2024-11-29 10:42:05 +01:00
parent c1c6366122
commit 2cef60a0c5

View file

@ -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=""