From c01d3baba7d098f7f46a43dd1ec732e8196c4095 Mon Sep 17 00:00:00 2001 From: Erik Fonnesbeck Date: Tue, 5 Oct 2010 23:16:55 -0600 Subject: Fix condition for rule type in spamd_generate_rules. --- config/spamd/spamd.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 persist\n"; -- cgit v1.2.3