Skip to content

Commit

Permalink
miniupnpd: Don't override ipv6_listening_ip
Browse files Browse the repository at this point in the history
miniupnpd: Don't override ipv6_listening_ip
Fixes:openwrt/packages#14145
  • Loading branch information
dolphinpaopao committed Dec 20, 2020
1 parent d718e32 commit 7b9bff5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions net/miniupnpd/files/miniupnpd.init
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 7b9bff5

Please sign in to comment.