Merge pull request #14152 from dianlujitao/master
miniupnpd: Don't override ipv6_listening_ip
This commit is contained in:
commit
8310fc5a17
2 changed files with 2 additions and 3 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=miniupnpd
|
PKG_NAME:=miniupnpd
|
||||||
PKG_VERSION:=2.2.0
|
PKG_VERSION:=2.2.0
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=4
|
||||||
|
|
||||||
PKG_SOURCE_URL:=https://miniupnp.tuxfamily.org/files
|
PKG_SOURCE_URL:=https://miniupnp.tuxfamily.org/files
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
|
|
|
@ -131,9 +131,8 @@ upnpd() {
|
||||||
|
|
||||||
local iface
|
local iface
|
||||||
for iface in ${internal_iface:-lan}; do
|
for iface in ${internal_iface:-lan}; do
|
||||||
local device addr6
|
local device
|
||||||
network_get_device device "$iface" && echo "listening_ip=$device"
|
network_get_device device "$iface" && echo "listening_ip=$device"
|
||||||
network_get_ipaddr6 addr6 "$iface" && echo "ipv6_listening_ip=$addr6"
|
|
||||||
done
|
done
|
||||||
|
|
||||||
config_load "upnpd"
|
config_load "upnpd"
|
||||||
|
|
Loading…
Reference in a new issue