stubby: quote address value in config
authorDmitry Mikhirev <[email protected]>
Thu, 23 Dec 2021 22:31:43 +0000 (02:31 +0400)
committerJosef Schlehofer <[email protected]>
Sun, 26 Dec 2021 14:43:07 +0000 (15:43 +0100)
fixes #17421

Signed-off-by: Dmitry Mikhirev <[email protected]>
net/stubby/Makefile
net/stubby/files/stubby.init

index 79d5ebc6c861824bff053b0c90926f88f3873a89..6fc347c23bd136ac868b7519ae3ccc2f15d78132 100644 (file)
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=stubby
 PKG_VERSION:=0.4.0
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://github.com/getdnsapi/$(PKG_NAME)
index 26cf170ede39d2d3240627909de0b3e9ae32d414..5d0574aedb6bffc88dff1ded3023876fb8d2774c 100755 (executable)
@@ -157,7 +157,7 @@ generate_config()
             upstream_recursive_servers_section=1
         fi
         config_get address "$config" address
-        echo "  - address_data: $address"
+        echo "  - address_data: \"$address\""
 
         config_get tls_auth_name "$config" tls_auth_name
         echo "    tls_auth_name: \"$tls_auth_name\""