Merge pull request #21761 from stangri/master-simple-adblock
simple-adblock: force_dns_port validation bugfix
This commit is contained in:
commit
eef14c9df8
|
@ -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
|
||||
|
||||
|
|
|
@ -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' \
|
||||
|
|
Loading…
Reference in New Issue