Skip to content

Commit

Permalink
fix community id test case
Browse files Browse the repository at this point in the history
  • Loading branch information
traceflight authored Jun 22, 2024
1 parent 6232e1f commit cc29f74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stdlib/community_id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
}

Expand Down

0 comments on commit cc29f74

Please sign in to comment.