diff options
author | Ryan Wagoner <rsw686@pfsense.org> | 2006-11-08 00:34:54 +0000 |
---|---|---|
committer | Ryan Wagoner <rsw686@pfsense.org> | 2006-11-08 00:34:54 +0000 |
commit | 043e5606ee332ad389382626abfb2f2e538a72ca (patch) | |
tree | 9066f75167d368e5735275f65d86ef0d8254ddf7 | |
parent | 69044d0d66e8802c10644267846025f5b65ba924 (diff) | |
download | pfsense-packages-043e5606ee332ad389382626abfb2f2e538a72ca.tar.gz pfsense-packages-043e5606ee332ad389382626abfb2f2e538a72ca.tar.bz2 pfsense-packages-043e5606ee332ad389382626abfb2f2e538a72ca.zip |
fixed syslog warning message when no interfaces selected
-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) { |