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> SVN-Revision: 41795
This commit is contained in:
parent
6dd7875412
commit
4f5081c911
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ dir-825-c1)
|
|||
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"
|
||||
;;
|
||||
|
||||
|
|
Loading…
Reference in a new issue