From a51fcf0e3a87f69092b68ce06769127530238e4d Mon Sep 17 00:00:00 2001 From: ckxckx Date: Tue, 31 Oct 2023 08:30:37 +0000 Subject: [PATCH] Patch for #issues/2290 --- pwnlib/util/net.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwnlib/util/net.py b/pwnlib/util/net.py index fcb0a44a8..823874e99 100644 --- a/pwnlib/util/net.py +++ b/pwnlib/util/net.py @@ -264,7 +264,7 @@ def sockinfos(addr, f, t): def match(c): laddrs = sockinfos(c.laddr, c.family, c.type) raddrs = sockinfos(c.raddr, c.family, c.type) - if not (raddrs & remote): + if not (laddrs & remote): return False if local is None: return True