Merge pull request #12628 from jonathanunderwood/openwrt-19.07-stubby-fix-tls-port

[19.07] stubby: fix handling of tls_port config option
This commit is contained in:
Rosen Penev 2020-06-28 19:54:51 -07:00 committed by GitHub
commit 587e387af7
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:=stubby
PKG_VERSION:=0.2.6
PKG_RELEASE:=4
PKG_RELEASE:=5
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/getdnsapi/$(PKG_NAME)

View file

@ -162,7 +162,7 @@ generate_config()
config_get tls_auth_name "$config" tls_auth_name
echo " tls_auth_name: \"$tls_auth_name\""
config_get tls_auth_port "$config" tls_port ""
config_get tls_port "$config" tls_port ""
if [ -n "$tls_port" ]; then
echo " tls_port: $tls_port"
fi