summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-07-18 21:52:28 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-07-18 21:52:28 +0000
commit489c0062b85ebd41e29dbe14a51f085a055d462a (patch)
treee246a9ae54c1d8da803b8ec2561325549b131601 /usr
parentbc48e8208b89c2fef0986f24cf49078cc3f80e2b (diff)
downloadpfsense-489c0062b85ebd41e29dbe14a51f085a055d462a.zip
pfsense-489c0062b85ebd41e29dbe14a51f085a055d462a.tar.gz
Shutdown miniupnpd correctly. Ticket #1383
Diffstat (limited to 'usr')
-rw-r--r--usr/local/pkg/miniupnpd.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/pkg/miniupnpd.inc b/usr/local/pkg/miniupnpd.inc
index 05167dc..f4aa98c 100644
--- a/usr/local/pkg/miniupnpd.inc
+++ b/usr/local/pkg/miniupnpd.inc
@@ -155,6 +155,8 @@
/* since config is written before this file invoked we don't need to read post data */
if(upnp_config('enable') && upnp_config('iface_array'))
$iface_array = explode(',',upnp_config('iface_array'));
+ else
+ upnp_action("stop");
if($iface_array) {
foreach($iface_array as $iface) {
OpenPOWER on IntegriCloud