Browse Source

Merge pull request #14125 from dianlujitao/master

miniupnpd: Pass ipv6 addr to ipv6_listening_ip
lilik-openwrt-22.03
Rosen Penev 4 years ago
committed by GitHub
parent
commit
0da6700f78
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      net/miniupnpd/Makefile
  2. +2
    -2
      net/miniupnpd/files/miniupnpd.init

+ 1
- 1
net/miniupnpd/Makefile View File

@ -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:=2
PKG_RELEASE:=3
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


+ 2
- 2
net/miniupnpd/files/miniupnpd.init View File

@ -131,9 +131,9 @@ upnpd() {
local iface local iface
for iface in ${internal_iface:-lan}; do for iface in ${internal_iface:-lan}; do
local device
local device addr6
network_get_device device "$iface" && echo "listening_ip=$device" network_get_device device "$iface" && echo "listening_ip=$device"
network_get_device device "$iface" && echo "ipv6_listening_ip=$device"
network_get_ipaddr6 addr6 "$iface" && echo "ipv6_listening_ip=$addr6"
done done
config_load "upnpd" config_load "upnpd"


Loading…
Cancel
Save