summaryrefslogtreecommitdiff
path: root/packetSource.cpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2007-06-21 17:32:14 +0000
committerChristian Pointner <equinox@anytun.org>2007-06-21 17:32:14 +0000
commitca78a99ef24f205880bb78ce8d6091be6c27bb1d (patch)
treec4d53dc692a814c37b8c791af49167f514839894 /packetSource.cpp
parentadded options parser (diff)
added remote host auto detection
Diffstat (limited to 'packetSource.cpp')
-rw-r--r--packetSource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/packetSource.cpp b/packetSource.cpp
index a20d7bb..063d142 100644
--- a/packetSource.cpp
+++ b/packetSource.cpp
@@ -46,7 +46,7 @@ UDPPacketSource::UDPPacketSource(std::string localaddr, u_int16_t port) : UDPSoc
{
}
-u_int32_t UDPPacketSource::recv(Buffer& buf, std::string addr, u_int16_t &port)
+u_int32_t UDPPacketSource::recv(Buffer& buf, std::string& addr, u_int16_t &port)
{
return recvFrom(buf, buf.getLength(), addr, port);
}