summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-03-10 13:06:09 +0000
committerErmal <eri@pfsense.org>2011-03-10 13:06:09 +0000
commit2f23caf2ec17f992def5357e39fb3b2125a02370 (patch)
treeaf390790c13e55f24e4faec6e790464cce3db270
parent298ca201d8e45f6682e1a5b76f023efe8d2ab5ee (diff)
downloadpfsense-2f23caf2ec17f992def5357e39fb3b2125a02370.zip
pfsense-2f23caf2ec17f992def5357e39fb3b2125a02370.tar.gz
Correctly generate the interface.
-rw-r--r--etc/inc/filter.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 15aee5d..36e7624 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -2633,9 +2633,9 @@ function filter_setup_logging_interfaces() {
}
$rules = "";
if (isset($FilterIflist['lan']))
- $rules .= "set loginterface {$ifcfg['if']}\n";
+ $rules .= "set loginterface {$FilterIflist['lan']['if']}\n";
else if (isset($FilterIflist['wan']))
- $rules .= "set loginterface {$ifcfg['if']}\n";
+ $rules .= "set loginterface {$FilterIflist['wan']['if']}\n";
return $rules;
}
OpenPOWER on IntegriCloud