Merge pull request #1 from jvennix-r7/merge-snmp-bsd-fix

Use the SNMP fix from master.
bug/bundler_fix
midnitesnake 2014-10-25 08:21:51 +01:00
commit e5347b4bdb
1 changed files with 1 additions and 5 deletions

View File

@ -63,11 +63,8 @@ class RexUDPTransport
rescue NoMethodError
@socket.send(data, 0, host, port)
rescue ::Errno::EISCONN
@socket.close
@socket = UDPSocket.open
@socket.send(data,0,host,port)
@socket.write(data)
end
end
def recv(max_bytes)
@ -719,4 +716,3 @@ class TrapListener
end
end