aboutsummaryrefslogtreecommitdiffstats
path: root/packages/miniupnpd
diff options
context:
space:
mode:
authorRyan Wagoner <rsw686@pfsense.org>2006-11-08 00:34:54 +0000
committerRyan Wagoner <rsw686@pfsense.org>2006-11-08 00:34:54 +0000
commit043e5606ee332ad389382626abfb2f2e538a72ca (patch)
tree9066f75167d368e5735275f65d86ef0d8254ddf7 /packages/miniupnpd
parent69044d0d66e8802c10644267846025f5b65ba924 (diff)
downloadpfsense-packages-043e5606ee332ad389382626abfb2f2e538a72ca.tar.gz
pfsense-packages-043e5606ee332ad389382626abfb2f2e538a72ca.tar.bz2
pfsense-packages-043e5606ee332ad389382626abfb2f2e538a72ca.zip
fixed syslog warning message when no interfaces selected
Diffstat (limited to 'packages/miniupnpd')
-rw-r--r--packages/miniupnpd/miniupnpd.inc3
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) {