sctp_m2ua: Fix the check of how many ASP for the same ident we have active
Currently this is only true for the same connection.
sctp_m2ua.c:195 Two active SCTP conns with 1.2.3.4 on 0x9c21cf0, 0x9c21cf0
diff --git a/src/sctp_m2ua.c b/src/sctp_m2ua.c
index 43deb52..fb797b7 100644
--- a/src/sctp_m2ua.c
+++ b/src/sctp_m2ua.c
@@ -184,7 +184,7 @@
/* some verification about the ASPs */
llist_for_each_entry(tmp, &trans->conns, entry) {
- if (tmp != conn)
+ if (tmp == conn)
continue;
if (memcmp(tmp->asp_ident, conn->asp_ident, 4) != 0)
continue;