simple-adblock: force_dns_port validation bugfix
authorStan Grishin <stangri@melmac.ca>
Tue, 8 Aug 2023 09:28:31 +0000 (09:28 +0000)
committerStan Grishin <stangri@melmac.ca>
Tue, 8 Aug 2023 09:33:18 +0000 (09:33 +0000)
Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 173d163f0935bd21e667fcd9a895718112d71718)

net/simple-adblock/Makefile
net/simple-adblock/files/simple-adblock.init

index 216a97e377faca8a6bb39fb982b0a655716882fa..5037303ec8608f97db0ec16bb20710819e89b8aa 100644 (file)
@@ -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 <stangri@melmac.ca>
 PKG_LICENSE:=GPL-3.0-or-later
 
index c35d03c2a7454e3faac62f0c01070b122a18d2ed..25240c8c1080e79c7c4986dc51ce480fedccdd86 100644 (file)
@@ -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' \