Use the SNMP fix from master.

bug/bundler_fix
Joe Vennix 2014-10-24 13:01:06 -05:00
parent 36f6bcca15
commit 136c2c4377
No known key found for this signature in database
GPG Key ID: 127B05FB3E85A2B0
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