From cc29f742d90bafc2983ae00fb813ebf9d20c1acb Mon Sep 17 00:00:00 2001 From: Julian Wang Date: Sat, 22 Jun 2024 13:59:14 +0800 Subject: [PATCH] fix community id test case --- src/stdlib/community_id.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stdlib/community_id.rs b/src/stdlib/community_id.rs index bf5d5a529c..14128f5c40 100644 --- a/src/stdlib/community_id.rs +++ b/src/stdlib/community_id.rs @@ -271,7 +271,7 @@ mod tests { tcp_no_ports { args: func_args![source_ip: "1.2.3.4", destination_ip: "5.6.7.8", protocol: 6], - want: Err("src port and dst port should be set when protocol is icmp/icmp6/tcp/udp/sctp"), + want: Err("src port and dst port should be set when protocol is tcp/udp/sctp"), tdef: TypeDef::bytes().fallible(), }