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

Merge branch 'test' into develop

This commit is contained in:
suyuan168 2022-04-05 19:11:26 +08:00
commit 08b33e52c7
2 changed files with 13 additions and 9 deletions

View file

@ -511,6 +511,7 @@ _intf_rule() {
intf=$(ifstatus "$1" | jsonfilter -q -e '@["l3_device"]')
[ -n "$(echo $intf | grep '@')" ] && intf=$(ifstatus "$1" | jsonfilter -q -e '@["device"]')
[ -z "$intf" ] && config_get intf $1 device
[ -n "$(echo $intf | grep '/') " ] && return
#count=$((count+1))
config_get count $1 metric
local mode