mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-14 19:41:51 +00:00
Keep mac for vlan
This commit is contained in:
parent
a275eedf45
commit
aa2dbb8c74
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue