base-files: depend on jsonfilter and rewrite network.sh to use it
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 19 Jun 2014 16:06:44 +0000 (16:06 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 19 Jun 2014 16:06:44 +0000 (16:06 +0000)
commit83e9122f88a002871d5cdf421cf6aa6052b7e006
tree33701d4bc9bbd4f10e0fc4fe360069dd681888a0
parenta97d3e8c8435fe8982a482872e1335529d58e46a
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