Skip to content

Commit

Permalink
Patch for #issues/2290
Browse files Browse the repository at this point in the history
  • Loading branch information
ckxckx committed Oct 31, 2023
1 parent 5ff9640 commit a51fcf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pwnlib/util/net.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a51fcf0

Please sign in to comment.