mirror of
https://github.com/openwrt/packages.git
synced 2025-12-28 07:50:04 +04:00
miniupnpd: Don't override ipv6_listening_ip
Fixes: https://github.com/openwrt/packages/issues/14145
Signed-off-by: Jitao Lu <dianlujitao@gmail.com>
(cherry picked from commit c89a1f3e8b)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user