[source] lantiq: add missing default lan interface

LEDE Commits lede-commits at lists.infradead.org
Wed Oct 25 00:22:43 PDT 2017


mkresin pushed a commit to source.git, branch master:
https://git.lede-project.org/9dd2d99525a588a66cfb0fd00ac8f3d62130bfca

commit 9dd2d99525a588a66cfb0fd00ac8f3d62130bfca
Author: Mathias Kresin <dev at kresin.me>
AuthorDate: Wed Oct 25 08:32:00 2017 +0200

    lantiq: add missing default lan interface
    
    With removing the boards from the the default case to fix the xDSL WAN
    MAC-Address, the setting for the default LAN interface wasn't added.
    
    Fixes: 92a12c434ca3 ("lantiq: fix avm fritz box mac addresses")
    
    Signed-off-by: Mathias Kresin <dev at kresin.me>
---
 target/linux/lantiq/base-files/etc/board.d/02_network | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/target/linux/lantiq/base-files/etc/board.d/02_network b/target/linux/lantiq/base-files/etc/board.d/02_network
index bc5c410..f78ef2f 100755
--- a/target/linux/lantiq/base-files/etc/board.d/02_network
+++ b/target/linux/lantiq/base-files/etc/board.d/02_network
@@ -117,10 +117,12 @@ EASY80920NAND|EASY80920NOR)
 
 FRITZ3370)
 	wan_mac=$(macaddr_add "$(mtd_get_mac_binary urlader 2439)" 1)
+	ucidef_set_interface_lan 'eth0'
 	;;
 
 FRITZ7320)
 	wan_mac=$(macaddr_add "$(mtd_get_mac_binary urlader 2705)" 1)
+	ucidef_set_interface_lan 'eth0'
 	;;
 
 FRITZ7360SL)



More information about the lede-commits mailing list