Author: blogic
Date: 2014-07-21 21:26:54 +0200 (Mon, 21 Jul 2014)
New Revision: 41795

Modified:
   trunk/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
Log:
ar71xx: fix WAN MAC setup on dir-825-c1

Changeset 38690 broke the WAN MAC setup. Here's the fix.

Signed-off-by: Sebastian Kemper <sebastian_ml <at> gmx.net>

Modified: trunk/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
===================================================================
--- trunk/target/linux/ar71xx/base-files/etc/uci-defaults/02_network    
2014-07-21 19:26:50 UTC (rev 41794)
+++ trunk/target/linux/ar71xx/base-files/etc/uci-defaults/02_network    
2014-07-21 19:26:54 UTC (rev 41795)
@@ -240,7 +240,7 @@
        ucidef_add_switch "switch0" "1" "1"
        ucidef_add_switch_vlan "switch0" "1" "0t 1 2 3 4"
        ucidef_add_switch_vlan "switch0" "2" "0t 5"
-       mac=$(mtd_get_mac_ascii nvram "^wan_mac")
+       mac=$(mtd_get_mac_ascii nvram "wan_mac")
        [ -n "$mac" ] && ucidef_set_interface_macaddr "wan" "$mac"
        ;;
 
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to