diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-11-22 10:54:58 -0800 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-11-22 10:54:58 -0800 |
| commit | 42ba70e79e3f1484f7bdde5832658cbd179649dc (patch) | |
| tree | df4f5b0db4ab5d0bc66a2263baa2e4a9b94d1a42 /node/Peer.cpp | |
| parent | cbaef66e82eeec05dfb005bd34cafc0c1cb411f7 (diff) | |
| download | infinitytier-42ba70e79e3f1484f7bdde5832658cbd179649dc.tar.gz infinitytier-42ba70e79e3f1484f7bdde5832658cbd179649dc.zip | |
Replace long callback arg list with struct, and implement path whitelisting, path blacklisting, and local.conf support for roles.
Diffstat (limited to 'node/Peer.cpp')
| -rw-r--r-- | node/Peer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Peer.cpp b/node/Peer.cpp index 94fb5298..e0bd0eac 100644 --- a/node/Peer.cpp +++ b/node/Peer.cpp @@ -160,7 +160,7 @@ void Peer::received( } } - if ( (!pathIsConfirmed) && (RR->node->shouldUsePathForZeroTierTraffic(path->localAddress(),path->address())) ) { + if ( (!pathIsConfirmed) && (RR->node->shouldUsePathForZeroTierTraffic(_id.address(),path->localAddress(),path->address())) ) { if (verb == Packet::VERB_OK) { Mutex::Lock _l(_paths_m); |
