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:45:53 +0000 (08:45 +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 058fbd57d09b588844cb9625481fc3304638ad8d..de55be8efbd70e121b712c0e658153644fd9d297 100755 (executable)
@@ -95,10 +95,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)