ramips: fix not set lan/wan mac address
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 2 Jun 2014 12:43:04 +0000 (12:43 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 2 Jun 2014 12:43:04 +0000 (12:43 +0000)
commitc626348f2a7e6b580d6e1151ab25eadf06cd60c9
tree1df1f331c84778ceff893a2f34d5d4a1a27d6be8
parenta643de252eb55402196175d18732a888e86395a2
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40910 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ramips/base-files/etc/uci-defaults/02_network