diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-09-17 15:33:34 -0400 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-09-17 15:33:34 -0400 |
| commit | 0133da1dcdaba9654e79506c4baeed506b6a4e30 (patch) | |
| tree | 3925230756bc55fafdf3f161e97e81fcf8d2222b /node/Peer.cpp | |
| parent | 300588c5e86689b56d66555f8aefa9868d170361 (diff) | |
| download | infinitytier-0133da1dcdaba9654e79506c4baeed506b6a4e30.tar.gz infinitytier-0133da1dcdaba9654e79506c4baeed506b6a4e30.zip | |
Get rid of onSent(), which was never used consistently anyway.
Diffstat (limited to 'node/Peer.cpp')
| -rw-r--r-- | node/Peer.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/node/Peer.cpp b/node/Peer.cpp index 488fde0c..7fd33ce9 100644 --- a/node/Peer.cpp +++ b/node/Peer.cpp @@ -99,17 +99,6 @@ bool Peer::send(const RuntimeEnvironment *_r,const void *data,unsigned int len,u return false; } -void Peer::onSent(const RuntimeEnvironment *_r,bool relay,Packet::Verb verb,uint64_t now) -{ - if (verb == Packet::VERB_FRAME) { - _lastUnicastFrame = now; - _dirty = true; - } else if (verb == Packet::VERB_MULTICAST_FRAME) { - _lastMulticastFrame = now; - _dirty = true; - } -} - bool Peer::sendFirewallOpener(const RuntimeEnvironment *_r,uint64_t now) { bool sent = false; |
