Changeset 6148
- Timestamp:
- 01/13/09 16:15:33 (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
r6072 r6148 40 40 # 41 41 def self.create_ip(param) 42 self.instance.notify_before_socket_create(self, param) 43 42 44 sock = ::Socket.open(::Socket::PF_INET, ::Socket::SOCK_RAW, ::Socket::IPPROTO_RAW) 43 45 sock.setsockopt(::Socket::IPPROTO_IP, ::Socket::IP_HDRINCL, 1) … … 47 49 sock.extend(::Rex::Socket::Ip) 48 50 sock.initsock(param) 49 51 52 self.instance.notify_socket_created(self, sock, param) 53 50 54 sock 51 55 end
