aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Fonnesbeck <efonnes@gmail.com>2010-10-05 23:16:55 -0600
committerErik Fonnesbeck <efonnes@gmail.com>2010-10-05 23:16:55 -0600
commitc01d3baba7d098f7f46a43dd1ec732e8196c4095 (patch)
tree2a32bf25e1b0d15081d41b91d390eebb4a5b25e5
parent9a8ad4dfd728cc7f863703e79a57b12bbf9a7e80 (diff)
downloadpfsense-packages-c01d3baba7d098f7f46a43dd1ec732e8196c4095.tar.gz
pfsense-packages-c01d3baba7d098f7f46a43dd1ec732e8196c4095.tar.bz2
pfsense-packages-c01d3baba7d098f7f46a43dd1ec732e8196c4095.zip
Fix condition for rule type in spamd_generate_rules.
-rw-r--r--config/spamd/spamd.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/spamd/spamd.inc b/config/spamd/spamd.inc
index e6b89051..256ec08b 100644
--- a/config/spamd/spamd.inc
+++ b/config/spamd/spamd.inc
@@ -170,7 +170,7 @@ function spamd_generate_rules($type) {
$natrules = "";
switch($type) {
- case 'rdr':
+ case 'nat':
$natrules .= "\n# spam table \n";
$wanif = get_real_interface("wan");
$natrules .= "table <whitelist> persist\n";