lantiq: add missing default lan interface
authorMathias Kresin <dev@kresin.me>
Wed, 25 Oct 2017 06:32:00 +0000 (08:32 +0200)
committerMathias Kresin <dev@kresin.me>
Wed, 25 Oct 2017 06:32:00 +0000 (08:32 +0200)
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@kresin.me>
target/linux/lantiq/base-files/etc/board.d/02_network

index bc5c410e65fb108569be811612be187fd303d731..f78ef2fd365c2eb650350b572281186e2d904c04 100755 (executable)
@@ -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)