Add the link-reset report

This commit is contained in:
Rodolphe Breard 2019-07-11 23:00:45 +02:00
parent 40c99af086
commit 4bfca1411b

View file

@ -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")),