base-files: depend on jsonfilter and rewrite network.sh to use it
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 19 Jun 2014 16:06:44 +0000 (16:06 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 19 Jun 2014 16:06:44 +0000 (16:06 +0000)
commit1143dd9e2edb22709396e2f17256c86fb9ff2c36
tree33701d4bc9bbd4f10e0fc4fe360069dd681888a0
parent0c9999e0107bd394ee25ef15962ec9a3afa25c63
base-files: depend on jsonfilter and rewrite network.sh to use it

Switches /lib/functions/network.sh from jshn based json parsing to
jsonfilter expression while keeping the existing api.

Expensive methods like "network_find_wan" are up to 20x faster now.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41281 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/base-files/Makefile
package/base-files/files/lib/functions/network.sh