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)
commit59fba2d47a10c5d2c3654dc44d8fe677286abd06
tree1df1f331c84778ceff893a2f34d5d4a1a27d6be8
parent21e8ba1c82b5021f7985fb205bd7d862f796c9a0
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