aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/igmpproxy/igmpproxy.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/igmpproxy/igmpproxy.inc b/config/igmpproxy/igmpproxy.inc
index 4f167a54..4d0211b0 100644
--- a/config/igmpproxy/igmpproxy.inc
+++ b/config/igmpproxy/igmpproxy.inc
@@ -50,6 +50,9 @@ quickleave
EOD;
+ if (!is_array($config['installedpackages']['igmpproxy']['config']))
+ return 0;
+
$igmpcfg =& $config['installedpackages']['igmpproxy']['config'];
foreach ($igmpcfg as $igmpcf) {
$realif = convert_friendly_interface_to_real_interface_name($igmpcf['igmpname']);