Skip to content

Commit 32f2b2a

Browse files
committed
Use custom resolver when creating the socket
1 parent 7797077 commit 32f2b2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rex/socket/comm/local.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def self.create_by_type(param, type, proto = 0)
262262
end
263263

264264
ip6_scope_idx = 0
265-
ip = param.peerhost
265+
ip = Rex::Socket.getaddress(param.peerhost)
266266
port = param.peerport
267267

268268
if param.proxies

0 commit comments

Comments
 (0)