diff options
author | Christian Pointner <equinox@anytun.org> | 2007-06-21 17:32:14 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2007-06-21 17:32:14 +0000 |
commit | ca78a99ef24f205880bb78ce8d6091be6c27bb1d (patch) | |
tree | c4d53dc692a814c37b8c791af49167f514839894 /packetSource.cpp | |
parent | added options parser (diff) |
added remote host auto detection
Diffstat (limited to 'packetSource.cpp')
-rw-r--r-- | packetSource.cpp | 2 |
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); } |