diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-01-30 16:04:05 -0800 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-01-30 16:04:05 -0800 |
| commit | ed31cb76d6c8e632456a554b79e05df0593b5e9c (patch) | |
| tree | c34834252dde1d34764f03ea7698804c87835fda /node/Network.hpp | |
| parent | eebd271bb1e3ab0d25f48db07a1a3f1154215bc7 (diff) | |
| download | infinitytier-ed31cb76d6c8e632456a554b79e05df0593b5e9c.tar.gz infinitytier-ed31cb76d6c8e632456a554b79e05df0593b5e9c.zip | |
Fix to cluster network configs.
Diffstat (limited to 'node/Network.hpp')
| -rw-r--r-- | node/Network.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/node/Network.hpp b/node/Network.hpp index 1627be58..85ee6e9a 100644 --- a/node/Network.hpp +++ b/node/Network.hpp @@ -181,11 +181,13 @@ public: * chunks via OK(NETWORK_CONFIG_REQUEST) or NETWORK_CONFIG. It verifies * each chunk and once assembled applies the configuration. * - * @param chunk Packet containing chunk + * @param packetId Packet ID or 0 if none (e.g. via cluster path) + * @param source Address of sender of chunk or NULL if none (e.g. via cluster path) + * @param chunk Buffer containing chunk * @param ptr Index of chunk and related fields in packet * @return Update ID if update was fully assembled and accepted or 0 otherwise */ - uint64_t handleConfigChunk(const Packet &chunk,unsigned int ptr); + uint64_t handleConfigChunk(const uint64_t packetId,const Address &source,const Buffer<ZT_PROTO_MAX_PACKET_LENGTH> &chunk,unsigned int ptr); /** * Set network configuration |
