freebsd-ports/databases/hypertable/files/patch-injail

10 lines
413 B
Text

--- src/cc/AsyncComm/IOHandlerDatagram.h 2010-04-14 17:43:30.000000000 +0000
+++ src/cc/AsyncComm/IOHandlerDatagram.h 2010-05-04 13:52:53.000000000 +0000
@@ -45,6 +45,7 @@
IOHandlerDatagram(int sd, const InetAddr &addr, DispatchHandlerPtr &dhp)
: IOHandler(sd, addr, dhp), m_send_queue() {
+ m_local_addr.sin_addr.s_addr = addr.sin_addr.s_addr;
m_message = new uint8_t [65536];
}