miniupnpd: Don't override ipv6_listening_ip
authorJitao Lu <redacted>
Mon, 7 Dec 2020 03:52:17 +0000 (11:52 +0800)
committerJitao Lu <redacted>
Mon, 7 Dec 2020 03:53:30 +0000 (11:53 +0800)
Fixes: https://github.com/openwrt/packages/issues/14145
Signed-off-by: Jitao Lu <redacted>
net/miniupnpd/Makefile
net/miniupnpd/files/miniupnpd.init

index f69c3177717276b4f3d6c36a7ffe23da8d436784..6a7d08e46ef3b7b73e12c261771605f03ff50837 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=miniupnpd
 PKG_VERSION:=2.2.0
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE_URL:=https://miniupnp.tuxfamily.org/files
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
index 901ca8b4e76c9275d46244a8b3afad5fc099a260..a37c5e8a7346a8da8478f13baa78084e03e6bf84 100644 (file)
@@ -131,9 +131,8 @@ upnpd() {
 
                local iface
                for iface in ${internal_iface:-lan}; do
-                       local device addr6
+                       local device
                        network_get_device device "$iface" && echo "listening_ip=$device"
-                       network_get_ipaddr6 addr6 "$iface" && echo "ipv6_listening_ip=$addr6"
                done
 
                config_load "upnpd"
git clone https://git.99rst.org/PROJECT