From: Stan Grishin Date: Tue, 8 Aug 2023 09:28:31 +0000 (+0000) Subject: simple-adblock: force_dns_port validation bugfix X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=173d163f0935bd21e667fcd9a895718112d71718;p=feed%2Fpackages.git simple-adblock: force_dns_port validation bugfix Signed-off-by: Stan Grishin --- diff --git a/net/simple-adblock/Makefile b/net/simple-adblock/Makefile index 216a97e377..5037303ec8 100644 --- a/net/simple-adblock/Makefile +++ b/net/simple-adblock/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=simple-adblock PKG_VERSION:=1.9.5 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_MAINTAINER:=Stan Grishin PKG_LICENSE:=GPL-3.0-or-later diff --git a/net/simple-adblock/files/simple-adblock.init b/net/simple-adblock/files/simple-adblock.init index c35d03c2a7..25240c8c10 100644 --- a/net/simple-adblock/files/simple-adblock.init +++ b/net/simple-adblock/files/simple-adblock.init @@ -1640,7 +1640,7 @@ load_validate_config() { uci_load_validate "$packageName" "$packageName" "$1" "${2}${3:+ $3}" \ 'enabled:bool:0' \ 'force_dns:bool:1' \ - 'force_dns_port:list(integer):53 853' \ + 'force_dns_port:list(integer):"53 853"' \ 'parallel_downloads:bool:1' \ 'debug:bool:0' \ 'compressed_cache:bool:0' \