From 5ad4eba90dfb91e2faaa678f1d4c182e35378567 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Mon, 21 Dec 2020 15:28:56 +0100 Subject: [PATCH] Fix the filter registration --- opensmtpd/src/lib.rs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/opensmtpd/src/lib.rs b/opensmtpd/src/lib.rs index f3df393..f83b9b7 100644 --- a/opensmtpd/src/lib.rs +++ b/opensmtpd/src/lib.rs @@ -186,16 +186,16 @@ where T: Filter, { // Filters - handshake_register!(obj, has_filter_auth, ss, "report", "auth"); - handshake_register!(obj, has_filter_commit, ss, "report", "commit"); - handshake_register!(obj, has_filter_connect, ss, "report", "connect"); - handshake_register!(obj, has_filter_data, ss, "report", "data"); - handshake_register!(obj, has_filter_data_line, ss, "report", "data-line"); - handshake_register!(obj, has_filter_ehlo, ss, "report", "ehlo"); - handshake_register!(obj, has_filter_helo, ss, "report", "helo"); - handshake_register!(obj, has_filter_mail_from, ss, "report", "mail-from"); - handshake_register!(obj, has_filter_rcpt_to, ss, "report", "rcpt-to"); - handshake_register!(obj, has_filter_starttls, ss, "report", "starttls"); + handshake_register!(obj, has_filter_auth, ss, "filter", "auth"); + handshake_register!(obj, has_filter_commit, ss, "filter", "commit"); + handshake_register!(obj, has_filter_connect, ss, "filter", "connect"); + handshake_register!(obj, has_filter_data, ss, "filter", "data"); + handshake_register!(obj, has_filter_data_line, ss, "filter", "data-line"); + handshake_register!(obj, has_filter_ehlo, ss, "filter", "ehlo"); + handshake_register!(obj, has_filter_helo, ss, "filter", "helo"); + handshake_register!(obj, has_filter_mail_from, ss, "filter", "mail-from"); + handshake_register!(obj, has_filter_rcpt_to, ss, "filter", "rcpt-to"); + handshake_register!(obj, has_filter_starttls, ss, "filter", "starttls"); // Reports handshake_register!(obj, has_report_link_auth, ss, "report", "link-auth");