diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-07-18 21:52:28 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-07-18 21:52:28 +0000 |
commit | 489c0062b85ebd41e29dbe14a51f085a055d462a (patch) | |
tree | e246a9ae54c1d8da803b8ec2561325549b131601 /usr/local/pkg | |
parent | bc48e8208b89c2fef0986f24cf49078cc3f80e2b (diff) | |
download | pfsense-489c0062b85ebd41e29dbe14a51f085a055d462a.zip pfsense-489c0062b85ebd41e29dbe14a51f085a055d462a.tar.gz |
Shutdown miniupnpd correctly.
Ticket #1383
Diffstat (limited to 'usr/local/pkg')
-rw-r--r-- | usr/local/pkg/miniupnpd.inc | 2 |
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) { |