From 0f917e0132284e50aa7efe6c9871c4d5b444c3b0 Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Thu, 11 Jul 2019 23:42:05 +0200 Subject: [PATCH] Parse the token after the session id --- opensmtpd/src/entry.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opensmtpd/src/entry.rs b/opensmtpd/src/entry.rs index 736b818..e3ed036 100644 --- a/opensmtpd/src/entry.rs +++ b/opensmtpd/src/entry.rs @@ -262,9 +262,9 @@ fn parse_v1_filter(input: &str) -> IResult<&str, Entry> { let (input, _) = separator(input)?; let (input, event) = parse_event(input)?; let (input, _) = separator(input)?; - let (input, token) = parse_token(input)?; - let (input, _) = separator(input)?; let (input, session_id) = parse_session_id(input)?; + let (input, _) = separator(input)?; + let (input, token) = parse_token(input)?; let (input, params) = many0(parse_param)(input)?; let _ = line_ending(input)?; let filter = V1Filter {