mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-26 18:49:35 +04:00
MAC setting uses hard to read duplicated code. Additionally it evaluates the unwanted family_id attribute. Provide the list of MAC address registers in the configuration structure and use a loop to fill those. Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de> Link: https://github.com/openwrt/openwrt/pull/22217 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>