[packages] git: update to 2.0.0
[packages.git] / net / miniupnpd / files / miniupnpd.init
index d747395..ef67d72 100644 (file)
@@ -106,9 +106,9 @@ start() {
 
                local iface
                for iface in ${intiface:-lan}; do
-                       local ipnet
-                       network_get_subnet ipnet "$iface" && {
-                               echo "listening_ip=$ipnet" >>$tmpconf
+                       local device
+                       network_get_device device "$iface" && {
+                               echo "listening_ip=$device" >>$tmpconf
                        }
                done