1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-16 20:23:53 +02:00

ramips: set correct LAN/WAN MAC addresses on DIR-860L B1

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Reviewed-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Matthias Schiffer 2016-06-30 16:16:30 +02:00
parent 103ed00cfb
commit 0a0caa2656
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C

View File

@ -286,6 +286,10 @@ ramips_setup_macs()
lan_mac=$(mtd_get_mac_ascii nvram lanmac)
wan_mac=$(mtd_get_mac_ascii nvram wanmac)
;;
dir-860l-b1)
lan_mac=$(mtd_get_mac_ascii factory lanmac)
wan_mac=$(mtd_get_mac_ascii factory wanmac)
;;
e1700)
wan_mac=$(mtd_get_mac_ascii config WAN_MAC_ADDR)
;;