diff options
author | Joseph Henry <josephjah@gmail.com> | 2019-06-12 13:14:14 -0700 |
---|---|---|
committer | Joseph Henry <josephjah@gmail.com> | 2019-06-12 13:14:14 -0700 |
commit | c3bfcf560b1db720c9bb08021b50bd31094e737c (patch) | |
tree | 2b1d833cf0a49fb28677a70a6e6bdb73c36b3eb7 | |
parent | 2eb9c0924a96bd1570df28e517b0deca714b566c (diff) | |
download | infinitytier-c3bfcf560b1db720c9bb08021b50bd31094e737c.tar.gz infinitytier-c3bfcf560b1db720c9bb08021b50bd31094e737c.zip |
Removed check for port number in multipath path replacement logic
-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 95a26003..3357bb2a 100644 --- a/node/Peer.cpp +++ b/node/Peer.cpp @@ -157,7 +157,7 @@ void Peer::received( break; } // If the path is the same address and port, simply assume this is a replacement - if ( (_paths[i].p->address().ipsEqual2(path->address()) && (_paths[i].p->address().port() == path->address().port()))) { + if ( (_paths[i].p->address().ipsEqual2(path->address()))) { replacePath = i; break; } |