Changeset 6072
- Timestamp:
- 01/04/09 10:42:55 (6 months ago)
- Files:
-
- 1 modified
-
framework3/trunk/lib/rex/socket/comm/local.rb (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
framework3/trunk/lib/rex/socket/comm/local.rb
r6023 r6072 92 92 if (local == "\x00\x00\x00\x00") 93 93 param.localhost = '::' 94 elsif (local == "\x7f\x00\x00\x01") 95 param.localhost = '::1' 94 96 else 95 97 param.localhost = '::ffff:' + Rex::Socket.getaddress(param.localhost) … … 100 102 if (peer == "\x00\x00\x00\x00") 101 103 param.peerhost = '::' 104 elsif (peer == "\x7f\x00\x00\x01") 105 param.peerhost = '::1' 102 106 else 103 107 param.peerhost = '::ffff:' + Rex::Socket.getaddress(param.peerhost)
