summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2013-02-17 09:02:38 -0500
committerjim-p <jimp@pfsense.org>2013-02-17 09:03:46 -0500
commit290296cdc05747b65145077e2715e7c4e2ae60aa (patch)
tree10c804c4767654c8870e80c1b7b82d5720dbbbf2 /etc
parent2d7e911174201b92601e3bfb86d3b3a7d1778df4 (diff)
downloadpfsense-290296cdc05747b65145077e2715e7c4e2ae60aa.zip
pfsense-290296cdc05747b65145077e2715e7c4e2ae60aa.tar.gz
Fix test for enabling upnp anchor. Unbreaks upnp for many.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index cacc5f0..5af5d26 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -2966,7 +2966,7 @@ anchor "tftp-proxy/*"
EOD;
update_filter_reload_status("Creating uPNP rules...");
- if (is_array($config['installedpackages']['miniupnpd']) && is_array($config['installedpackages']['miniupnpd'][0])) {
+ if (is_array($config['installedpackages']['miniupnpd']) && is_array($config['installedpackages']['miniupnpd']['config'][0])) {
if (isset($config['installedpackages']['miniupnpd']['config'][0]['enable']))
$ipfrules .= "anchor \"miniupnpd\"\n";
OpenPOWER on IntegriCloud