diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2019-08-02 20:43:02 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2019-08-02 20:43:02 -0700 |
| commit | 75ebe5172f6eac21f2d113efae478c4b01f2fd0c (patch) | |
| tree | e4ebd156d0d3ed1f9d5917101d5c3321a74181d2 /node/Network.hpp | |
| parent | 4a9030b4a0aaee695b5affaa360d77977dd558b7 (diff) | |
| download | infinitytier-75ebe5172f6eac21f2d113efae478c4b01f2fd0c.tar.gz infinitytier-75ebe5172f6eac21f2d113efae478c4b01f2fd0c.zip | |
Fix for sharing of capabilities in 1.4 (problem introduced when push frequency was reduced)
Diffstat (limited to 'node/Network.hpp')
| -rw-r--r-- | node/Network.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/node/Network.hpp b/node/Network.hpp index 969e1f14..5e573812 100644 --- a/node/Network.hpp +++ b/node/Network.hpp @@ -365,7 +365,7 @@ public: inline void pushCredentialsNow(void *tPtr,const Address &to,const int64_t now) { Mutex::Lock _l(_lock); - _membership(to).pushCredentials(RR,tPtr,now,to,_config,-1); + _membership(to).pushCredentials(RR,tPtr,now,to,_config); } /** @@ -380,7 +380,7 @@ public: Mutex::Lock _l(_lock); Membership &m = _membership(to); if (m.shouldPushCredentials(now)) - m.pushCredentials(RR,tPtr,now,to,_config,-1); + m.pushCredentials(RR,tPtr,now,to,_config); } /** |
