aboutsummaryrefslogtreecommitdiffstats
path: root/config/spamd.inc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-07-08 15:37:52 +0000
committerErmal Luçi <eri@pfsense.org>2009-07-08 15:37:52 +0000
commit02480158fe187b1bc85938d836d9c215f1beae82 (patch)
treef3d33fa86e6ccb2855607e2cdd7ab6820f975d06 /config/spamd.inc
parentcc47995dd0b4f7a44c36a94d6f4feabddc418e12 (diff)
downloadpfsense-packages-02480158fe187b1bc85938d836d9c215f1beae82.tar.gz
pfsense-packages-02480158fe187b1bc85938d836d9c215f1beae82.tar.bz2
pfsense-packages-02480158fe187b1bc85938d836d9c215f1beae82.zip
Correct a missed conversion of code from filter.inc to the package include file.
Diffstat (limited to 'config/spamd.inc')
-rw-r--r--config/spamd.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/spamd.inc b/config/spamd.inc
index 6ee72ad7..48aea12e 100644
--- a/config/spamd.inc
+++ b/config/spamd.inc
@@ -167,7 +167,7 @@ function spamd_generate_rules($type) {
switch($type) {
case 'rdr':
$natrules .= "\n# spam table \n";
- $wanif = $FilterIflist["wan"]['if'];
+ $wanif = get_real_interface("wan");
$natrules .= "table <whitelist> persist\n";
$natrules .= "table <blacklist> persist\n";
$natrules .= "table <spamd> persist\n";