mirror of
https://github.com/openwrt/packages.git
synced 2026-06-17 17:00:28 +04:00
Merge pull request #22721 from jcassette/fix-22691
unbound: fix `create_host_record_from_host` error when `dns` is not set
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=unbound
|
||||
PKG_VERSION:=1.19.0
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://nlnetlabs.nl/downloads/unbound
|
||||
|
||||
@@ -107,7 +107,7 @@ create_host_record_from_host() {
|
||||
local dns ip name
|
||||
|
||||
# basefiles dhcp "host" clause which means host A and PTR records
|
||||
config_get dns "$cfg" dns
|
||||
config_get dns "$cfg" dns 0
|
||||
config_get ip "$cfg" ip
|
||||
config_get name "$cfg" name
|
||||
|
||||
|
||||
Reference in New Issue
Block a user