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

Fix duplicate mac address fix

This commit is contained in:
Ycarus (Yannick Chabanois) 2021-02-25 14:26:41 +01:00
parent a254d4aaed
commit 9f809347d2

View file

@ -131,7 +131,7 @@ interface_multipath_settings() {
uci -q set openmptcprouter.${config}.multipath="$mode" uci -q set openmptcprouter.${config}.multipath="$mode"
config_get macaddr "$config" macaddr "" config_get macaddr "$config" macaddr ""
[ -n "$maccaddr" ] && { [ -n "$macaddr" ] && {
nbmac=0 nbmac=0
config_foreach interface_macaddr_count interface $macaddr config_foreach interface_macaddr_count interface $macaddr
[ "$nbmac" != "1" ] && { [ "$nbmac" != "1" ] && {