aboutsummaryrefslogtreecommitdiff
path: root/net/privoxy/files
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-07-21 21:16:03 +0200
committerJo-Philipp Wich <jo@mein.io>2018-07-21 21:16:03 +0200
commit3113d62393fcd364a402aae55139eba4bf38fab8 (patch)
treec98de2fca9df2c30afe5ac2ab80e373732c64438 /net/privoxy/files
parentbdfaeb236f9e28b266c1cbed248bf7e83504ca32 (diff)
privoxy: fix uci configuration parsing after upstream OpenWrt changes
OpenWrt changed the way the uci shell parsing functions deal with list configuration items. This change broke the generation of the privoxy runtime configuration because no callbacks were emitted anymore. Fix the problem by defining a list_cb() that simply calls the existing option_cb() to deal with list item values. Ref: c9c0fc28a9 ("base-files: fix UCI config parsing and callback handling") Ref: https://forum.lede-project.org/t/openwrt-snapshot-privoxy-error/15919 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'net/privoxy/files')
-rw-r--r--net/privoxy/files/privoxy.init5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/privoxy/files/privoxy.init b/net/privoxy/files/privoxy.init
index b2592b35a..d9c92fb7d 100644
--- a/net/privoxy/files/privoxy.init
+++ b/net/privoxy/files/privoxy.init
@@ -40,6 +40,11 @@ _uci2conf() {
;;
esac
}
+
+ list_cb()
+ {
+ option_cb "$@"
+ }
fi
}