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)
commit0374d78de6526ab5b58a1614db123985ad724524
tree33701d4bc9bbd4f10e0fc4fe360069dd681888a0
parente2d257b7e20ea32a2bf354a410cbc27e42b55906
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>
SVN-Revision: 41281
package/base-files/Makefile
package/base-files/files/lib/functions/network.sh