From 58c530727f5a01f8bbbcc16298c0ec184d35e40d Mon Sep 17 00:00:00 2001
From: Luca Guerra <luca@guerra.sh>
Date: Fri, 20 Dec 2024 10:56:49 +0000
Subject: [PATCH] cleanup(libsinsp): remove assert that may trigger under
 normal circumstances

Signed-off-by: Luca Guerra <luca@guerra.sh>
---
 userspace/libsinsp/parsers.cpp | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/userspace/libsinsp/parsers.cpp b/userspace/libsinsp/parsers.cpp
index a8cacd5aa9..639aeb0d09 100644
--- a/userspace/libsinsp/parsers.cpp
+++ b/userspace/libsinsp/parsers.cpp
@@ -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;
 	}