simple-adblock: force_dns_port validation bugfix

Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 173d163f09)
This commit is contained in:
Stan Grishin
2023-08-08 09:28:31 +00:00
parent af603bd12a
commit af7b0f9eff
2 changed files with 2 additions and 2 deletions

View 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

View 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' \