diff options
Diffstat (limited to 'packages/miniupnpd')
-rw-r--r-- | packages/miniupnpd/miniupnpd.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/miniupnpd/miniupnpd.inc b/packages/miniupnpd/miniupnpd.inc index b27516f0..149aac20 100644 --- a/packages/miniupnpd/miniupnpd.inc +++ b/packages/miniupnpd/miniupnpd.inc @@ -67,7 +67,8 @@ config_lock(); /* since config is written before this file invoked we don't need to read post data */ - $iface_array = explode(",",upnp_config("iface_array")); + if(upnp_config("iface_array")) + $iface_array = explode(",",upnp_config("iface_array")); if($iface_array) { foreach($iface_array as $iface) { |