ramips: fix not set lan/wan mac address
authorJohn Crispin <blogic@openwrt.org>
Mon, 2 Jun 2014 12:43:04 +0000 (12:43 +0000)
committerJohn Crispin <blogic@openwrt.org>
Mon, 2 Jun 2014 12:43:04 +0000 (12:43 +0000)
commit6695dc87b5279d279601e71390c36834e089ee2e
tree1df1f331c84778ceff893a2f34d5d4a1a27d6be8
parente5aa6b969da09c8da4af7e830ac7cb8f6b0c0fa4
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