diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-10-28 17:25:12 -0400 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-10-28 17:25:12 -0400 |
commit | e4044eeb709c09f5577f7e77260ccf997a298156 (patch) | |
tree | ba69ffb4b5672eb4836aba1201750390667841ed /node/PacketDecoder.cpp | |
parent | d5fdfaea56e6c3c1d8f8b5ade03d927c94825bec (diff) | |
download | infinitytier-e4044eeb709c09f5577f7e77260ccf997a298156.tar.gz infinitytier-e4044eeb709c09f5577f7e77260ccf997a298156.zip |
Finish stubbing out FILE_ stuff.
Diffstat (limited to 'node/PacketDecoder.cpp')
-rw-r--r-- | node/PacketDecoder.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/node/PacketDecoder.cpp b/node/PacketDecoder.cpp index 956cb642..83c47b0e 100644 --- a/node/PacketDecoder.cpp +++ b/node/PacketDecoder.cpp @@ -112,6 +112,10 @@ bool PacketDecoder::tryDecode(const RuntimeEnvironment *_r) return _doNETWORK_CONFIG_REQUEST(_r,peer); case Packet::VERB_NETWORK_CONFIG_REFRESH: return _doNETWORK_CONFIG_REFRESH(_r,peer); + case Packet::VERB_FILE_INFO_REQUEST: + return _doFILE_INFO_REQUEST(_r,peer); + case Packet::VERB_FILE_BLOCK_REQUEST: + return _doFILE_BLOCK_REQUEST(_r,peer); default: // This might be something from a new or old version of the protocol. // Technically it passed MAC so the packet is still valid, but we @@ -874,4 +878,14 @@ bool PacketDecoder::_doNETWORK_CONFIG_REFRESH(const RuntimeEnvironment *_r,const return true; } +bool PacketDecoder::_doFILE_INFO_REQUEST(const RuntimeEnvironment *_r,const SharedPtr<Peer> &peer) +{ + return true; +} + +bool PacketDecoder::_doFILE_BLOCK_REQUEST(const RuntimeEnvironment *_r,const SharedPtr<Peer> &peer) +{ + return true; +} + } // namespace ZeroTier |