summaryrefslogtreecommitdiff
path: root/node/Peer.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-03-18 14:33:57 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-03-18 14:33:57 -0700
commit0b7599273705328f81c5afe2721e76c007779a9c (patch)
tree1a7d7c65188527dd161e5da85c6f34a9dbb69223 /node/Peer.hpp
parent91fef21973a3590ce37d1c2b126c4b8246d2fb1b (diff)
downloadinfinitytier-0b7599273705328f81c5afe2721e76c007779a9c.tar.gz
infinitytier-0b7599273705328f81c5afe2721e76c007779a9c.zip
Everything but the local config bus... blech.
Diffstat (limited to 'node/Peer.hpp')
-rw-r--r--node/Peer.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/node/Peer.hpp b/node/Peer.hpp
index f7c81cb0..ac56401a 100644
--- a/node/Peer.hpp
+++ b/node/Peer.hpp
@@ -118,7 +118,6 @@ public:
*/
void onReceive(
const RuntimeEnvironment *_r,
- Demarc::Port localPort,
const InetAddress &remoteAddr,
unsigned int hops,
uint64_t packetId,
@@ -134,9 +133,9 @@ public:
* @param data Data to send
* @param len Length of packet
* @param now Current time
- * @return NULL_PORT or port packet was sent from
+ * @return True if packet appears to have been sent
*/
- Demarc::Port send(const RuntimeEnvironment *_r,const void *data,unsigned int len,uint64_t now);
+ bool send(const RuntimeEnvironment *_r,const void *data,unsigned int len,uint64_t now);
/**
* Send firewall opener to active link