diff options
-rw-r--r-- | target/linux/mvebu/base-files/lib/preinit/06_set_iface_mac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/mvebu/base-files/lib/preinit/06_set_iface_mac b/target/linux/mvebu/base-files/lib/preinit/06_set_iface_mac index aba8da239e..fd41836c8d 100644 --- a/target/linux/mvebu/base-files/lib/preinit/06_set_iface_mac +++ b/target/linux/mvebu/base-files/lib/preinit/06_set_iface_mac @@ -21,8 +21,8 @@ preinit_set_mac_address() { mac=$(mtd_get_mac_ascii devinfo hw_mac_addr) mac_wan=$(macaddr_setbit_la "$mac") - ip link set dev eth1 address $mac 2>/dev/null - ip link set dev eth0 address $mac_wan 2>/dev/null + ip link set dev eth0 address $mac 2>/dev/null + ip link set dev eth1 address $mac_wan 2>/dev/null ;; linksys,mamba) mac=$(mtd_get_mac_ascii devinfo hw_mac_addr) |