diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-05-06 11:00:19 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-05-06 11:00:19 -0700 |
commit | b5438683516437a617e10138d82e4907fbb55b39 (patch) | |
tree | 04dd9bf8612879ee983d9bd21588253daa8a03c1 /node | |
parent | 0f17077b3d592d5c39374cf44fe5ea1173d7109c (diff) | |
download | infinitytier-b5438683516437a617e10138d82e4907fbb55b39.tar.gz infinitytier-b5438683516437a617e10138d82e4907fbb55b39.zip |
Missing deserialize stuff.
Diffstat (limited to 'node')
-rw-r--r-- | node/NetworkConfig.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/node/NetworkConfig.hpp b/node/NetworkConfig.hpp index 00277585..15778aed 100644 --- a/node/NetworkConfig.hpp +++ b/node/NetworkConfig.hpp @@ -563,6 +563,8 @@ public: if (_staticCount > ZT_MAX_NETWORK_STATIC_PHYSICAL_ADDRESSES) throw std::invalid_argument("overflow (static addresses)"); for(unsigned int i=0;i<_staticCount;++i) { + _static[i].zt.setTo(b.field(p,ZT_ADDRESS_LENGTH),ZT_ADDRESS_LENGTH); p += ZT_ADDRESS_LENGTH; + p += _static[i].phy.deserialize(b,p); } _ruleCount = (unsigned int)b.template at<uint16_t>(p); p += 2; |