ramips: fix not set lan/wan mac address
authorJohn Crispin <john@openwrt.org>
Mon, 2 Jun 2014 12:43:04 +0000 (12:43 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 2 Jun 2014 12:43:04 +0000 (12:43 +0000)
commit9b728bebfb8f07ec05404efed5c4d75c89c9b8e9
tree1a98fb87019157b9ec75949b34c0801c38ba0137
parent36d0a5e3fb39eb43b64760febf668c8968bc9f38
ramips: fix not set lan/wan mac address

The first switch case is default case. Then it will only
match default case. cause not update the lan/wan mac address.
And in the default switch case the param lan_mac is empty.
it will case error message 'arithmetic syntax error' when
call macaddr_add function.

Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 40910
target/linux/ramips/base-files/etc/uci-defaults/02_network