mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-14 23:09:45 +01:00
ath79: mikrotik: swap RB922UAGS-5HPaCD eth0/1 MACs
Since support for SFP on the MikroTik RouterBOARD 922UAGS-5HPacD was added by4387fe00cb, the MAC addresses for eth0 (Ethernet) and eth1 (SFP) were swapped. This patch fixes the 02_network script to assign MAC addresses correctly, so they match the label and the vendor's OS. Tested on a RouterBOARD 922UAGS-5HPacD board. Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net> (cherry picked from commit14a95b36b1)
This commit is contained in:
parent
a524a0dff8
commit
d57e480394
1 changed files with 5 additions and 0 deletions
|
|
@ -45,6 +45,11 @@ ath79_setup_macs()
|
|||
label_mac="$mac_base"
|
||||
lan_mac="$mac_base"
|
||||
;;
|
||||
mikrotik,routerboard-922uags-5hpacd)
|
||||
label_mac="$mac_base"
|
||||
lan_mac="$mac_base"
|
||||
wan_mac=$(macaddr_add $mac_base 1)
|
||||
;;
|
||||
*)
|
||||
label_mac="$mac_base"
|
||||
wan_mac="$mac_base"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue