mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net/upnp: add newwanip hook
This could potentially disrupt operation for no apparent reason since this wasn't included and asked for for a long time now. PR: https://forum.opnsense.org/index.php?topic=36912.0
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
PLUGIN_NAME= upnp
|
||||
PLUGIN_VERSION= 1.5
|
||||
PLUGIN_REVISION= 4
|
||||
PLUGIN_REVISION= 5
|
||||
PLUGIN_DEPENDS= miniupnpd
|
||||
PLUGIN_COMMENT= Universal Plug and Play Service
|
||||
PLUGIN_MAINTAINER= franco@opnsense.org
|
||||
|
||||
@@ -88,7 +88,10 @@ function miniupnpd_stop()
|
||||
|
||||
function miniupnpd_configure()
|
||||
{
|
||||
return ['bootup' => ['miniupnpd_configure_do']];
|
||||
return [
|
||||
'bootup' => ['miniupnpd_configure_do'],
|
||||
'newwanip' => ['miniupnpd_configure_do'],
|
||||
];
|
||||
}
|
||||
|
||||
function miniupnpd_uuid()
|
||||
|
||||
Reference in New Issue
Block a user