From 4bfca1411b321aa9be31a5cbf6a80c61f54eb1fc Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Thu, 11 Jul 2019 23:00:45 +0200 Subject: [PATCH] Add the link-reset report --- opensmtpd/src/entry.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/opensmtpd/src/entry.rs b/opensmtpd/src/entry.rs index d809cff..c6449c2 100644 --- a/opensmtpd/src/entry.rs +++ b/opensmtpd/src/entry.rs @@ -38,6 +38,7 @@ pub enum Event { LinkDisconnect, LinkIdentify, LinkTls, + LinkReset, TxBegin, TxMail, TxRcpt, @@ -76,6 +77,7 @@ impl ToString for Event { Event::LinkDisconnect => "link-disconnect", Event::LinkIdentify => "link-identify", Event::LinkTls => "link-tls", + Event::LinkReset => "link-reset", Event::TxBegin => "tx-begin", Event::TxMail => "tx-mail", Event::TxRcpt => "tx-rcpt", @@ -197,6 +199,7 @@ fn parse_event(input: &str) -> IResult<&str, Event> { value(Event::LinkDisconnect, tag("link-disconnect")), value(Event::LinkIdentify, tag("link-identify")), value(Event::LinkTls, tag("link-tls")), + value(Event::LinkReset, tag("link-reset")), value(Event::TxBegin, tag("tx-begin")), value(Event::TxMail, tag("tx-mail")), value(Event::TxRcpt, tag("tx-rcpt")),