diff options
| author | Stan Grishin <stangri@melmac.ca> | 2022-10-21 11:57:20 +0000 |
|---|---|---|
| committer | Stan Grishin <stangri@melmac.ca> | 2022-10-21 11:57:29 +0000 |
| commit | 425cef2f8c0fd9f90d5f39c9777c877be09c2547 (patch) | |
| tree | d852b12236909113a084a349ac5a09320f95a5ed /net/https-dns-proxy | |
| parent | cbf62d4328f477a39d8183bc51f26a25c0437377 (diff) | |
https-dns-proxy: bugfix: prevent creation of empty interface trigger
* When $wan/$wan6 are empty but double-quoted, it leads to creation
of an interface trigger with empty interface
Signed-off-by: Stan Grishin <stangri@melmac.ca>
Diffstat (limited to 'net/https-dns-proxy')
| -rw-r--r-- | net/https-dns-proxy/Makefile | 2 | ||||
| -rwxr-xr-x | net/https-dns-proxy/files/https-dns-proxy.init | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/https-dns-proxy/Makefile b/net/https-dns-proxy/Makefile index b8fc04b7b..b349f9a2d 100644 --- a/net/https-dns-proxy/Makefile +++ b/net/https-dns-proxy/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=https-dns-proxy PKG_VERSION:=2022-10-15 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/aarond10/https_dns_proxy/ diff --git a/net/https-dns-proxy/files/https-dns-proxy.init b/net/https-dns-proxy/files/https-dns-proxy.init index 9395c88ea..64a4b82b9 100755 --- a/net/https-dns-proxy/files/https-dns-proxy.init +++ b/net/https-dns-proxy/files/https-dns-proxy.init @@ -269,7 +269,7 @@ service_triggers() { network_find_wan6 wan6 wan6="${wan6:-wan6}" fi - for i in "$wan" "$wan6"; do + for i in $wan $wan6; do procd_add_interface_trigger "interface.*" "$i" "/etc/init.d/${packageName}" start done procd_add_config_trigger "config.change" "$packageName" "/etc/init.d/${packageName}" start |
