Merge pull request #21761 from stangri/master-simple-adblock

simple-adblock: force_dns_port validation bugfix
This commit is contained in:
Stan Grishin 2023-08-08 13:15:33 -07:00 committed by GitHub
commit eef14c9df8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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' \