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)
commit7eb721425e9655a5910f06d54672e2f639414c39
tree5eb97518506b17081e01cab7987f135811ab2f17
parent1d9497292575b5c0ada993073b1f4b00bcf66e28
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