Skip to content

Commit

Permalink
cleanup(libsinsp): remove assert that may trigger under normal circum…
Browse files Browse the repository at this point in the history
…stances

Signed-off-by: Luca Guerra <[email protected]>
  • Loading branch information
LucaGuerra authored and poiana committed Dec 20, 2024
1 parent 4eb67f0 commit 7b9e76f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions userspace/libsinsp/parsers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2721,10 +2721,7 @@ void sinsp_parser::parse_bind_exit(sinsp_evt *evt) {
if(parinfo->m_len == 0) {
//
// No address, there's nothing we can really do with this.
// This happens for socket types that we don't support, so we have the assertion
// to make sure that this is not a type of socket that we support.
//
ASSERT(!(evt->get_fd_info()->is_unix_socket() || evt->get_fd_info()->is_ipv4_socket()));
return;
}

Expand Down

0 comments on commit 7b9e76f

Please sign in to comment.