aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/02_network8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/02_network b/target/linux/ramips/base-files/etc/uci-defaults/02_network
index b9524f6d2c..e167ddb84f 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network
@@ -179,10 +179,6 @@ ramips_setup_macs()
local wan_mac=""
case $board in
- *)
- wan_mac=$(macaddr_add "$lan_mac" 1)
- ;;
-
br-6475nd)
lan_mac=$(mtd_get_mac_binary devdata 13)
wan_mac=$(mtd_get_mac_binary devdata 7)
@@ -240,6 +236,10 @@ ramips_setup_macs()
wan_mac=$(macaddr_add "$lan_mac" 1)
;;
+ *)
+ wan_mac=$(macaddr_add "$lan_mac" 1)
+ ;;
+
esac
[ -n "$lan_mac" ] && ucidef_set_interface_macaddr lan $lan_mac