From c89a1f3e8bb3ed5470739729918661157b653072 Mon Sep 17 00:00:00 2001 From: Jitao Lu Date: Mon, 7 Dec 2020 11:52:17 +0800 Subject: [PATCH] miniupnpd: Don't override ipv6_listening_ip Fixes: https://github.com/openwrt/packages/issues/14145 Signed-off-by: Jitao Lu --- net/miniupnpd/Makefile | 2 +- net/miniupnpd/files/miniupnpd.init | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/net/miniupnpd/Makefile b/net/miniupnpd/Makefile index f69c31777..6a7d08e46 100644 --- a/net/miniupnpd/Makefile +++ b/net/miniupnpd/Makefile @@ -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 diff --git a/net/miniupnpd/files/miniupnpd.init b/net/miniupnpd/files/miniupnpd.init index 901ca8b4e..a37c5e8a7 100644 --- a/net/miniupnpd/files/miniupnpd.init +++ b/net/miniupnpd/files/miniupnpd.init @@ -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"