diff options
Diffstat (limited to 'node/RemotePath.hpp')
| -rw-r--r-- | node/RemotePath.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/node/RemotePath.hpp b/node/RemotePath.hpp index 9a8a3ff8..d2f99997 100644 --- a/node/RemotePath.hpp +++ b/node/RemotePath.hpp @@ -163,8 +163,8 @@ public: _lastSend = b.template at<uint64_t>(p); p += 8; _lastReceived = b.template at<uint64_t>(p); p += 8; p += _localAddress.deserialize(b,p); - _flags = b.template at<uint16_t>(p); p += 4; - return (startAt - p); + _flags = b.template at<uint16_t>(p); p += 2; + return (p - startAt); } protected: |
