ipq806x: add a helper variable with the vendor name stripped
[openwrt/staging/chunkeey.git] / target / linux / ipq806x / base-files / etc / board.d / 02_network
index 28dc405c8a22988a988b2ad587f19dc8c468a842..ad357b736391bebc46215a0453de7137ab963523 100755 (executable)
@@ -47,8 +47,8 @@ nbg6817)
        hw_mac_addr=$(mtd_get_mac_ascii 0:APPSBLENV ethaddr)
        ucidef_add_switch "switch0" \
                "1:lan" "2:lan" "3:lan" "4:lan" "6@eth1" "5:wan" "0@eth0"
-       ucidef_set_interface_macaddr "lan" "$hw_mac_addr"
-       ucidef_set_interface_macaddr "wan" "$(macaddr_add $hw_mac_addr 1)"
+       ucidef_set_interface_macaddr "lan" "$(macaddr_add $hw_mac_addr 2)"
+       ucidef_set_interface_macaddr "wan" "$(macaddr_add $hw_mac_addr 3)"
        ;;
 *)
        echo "Unsupported hardware. Network interfaces not intialized"