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:
suyuan 2021-07-08 10:23:33 +08:00
commit adf367771f
7 changed files with 180 additions and 34 deletions

View file

@ -47,7 +47,7 @@ interface_macaddr_count() {
local intf="$1"
local dmacaddr="$2"
config_get macaddr "$intf" macaddr
[ "$macaddr" = "$dmacaddr" ] && nbmac=$((nbmac+1))
[ "$macaddr" = "$dmacaddr" ] && [ -z "$(echo $intf | grep '\.')" ] && nbmac=$((nbmac+1))
}
interface_max_metric() {