mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Merge branch 'master' into develop
This commit is contained in:
commit
0a71133624
1 changed files with 1 additions and 1 deletions
|
@ -511,7 +511,7 @@ _intf_rule() {
|
||||||
intf=$(ifstatus "$1" | jsonfilter -q -e '@["l3_device"]')
|
intf=$(ifstatus "$1" | jsonfilter -q -e '@["l3_device"]')
|
||||||
[ -n "$(echo $intf | grep '@')" ] && intf=$(ifstatus "$1" | jsonfilter -q -e '@["device"]')
|
[ -n "$(echo $intf | grep '@')" ] && intf=$(ifstatus "$1" | jsonfilter -q -e '@["device"]')
|
||||||
[ -z "$intf" ] && config_get intf $1 device
|
[ -z "$intf" ] && config_get intf $1 device
|
||||||
[ -n "$(echo $intf | grep '/') " ] && return
|
[ -n "$(echo $intf | grep '/')" ] && return
|
||||||
#count=$((count+1))
|
#count=$((count+1))
|
||||||
config_get count $1 metric
|
config_get count $1 metric
|
||||||
local mode
|
local mode
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue