diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-07-13 09:29:51 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-07-13 09:29:51 -0700 |
| commit | 4bf3bcbd555025c5e76301ca49f74cafa526d902 (patch) | |
| tree | e548a0301ea5e44ef5a033cb3383dafc0b14557e /node/Peer.cpp | |
| parent | fe20f0d7cdbf9d38c7590bb5090467ff86b0008f (diff) | |
| download | infinitytier-4bf3bcbd555025c5e76301ca49f74cafa526d902.tar.gz infinitytier-4bf3bcbd555025c5e76301ca49f74cafa526d902.zip | |
Fixes to PUSH_DIRECT_PATHS.
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 84aa8bef..ba765c72 100644 --- a/node/Peer.cpp +++ b/node/Peer.cpp @@ -255,7 +255,7 @@ void Peer::pushDirectPaths(const RuntimeEnvironment *RR,RemotePath *path,uint64_ outp.append(flags); outp.append((uint8_t)((p->metric() >= 0) ? ((p->metric() <= 255) ? p->metric() : 255) : 0)); - outp.append((uint16_t)0); + outp.append((uint16_t)0); // no extensions outp.append(addressType); outp.append((uint8_t)((addressType == 4) ? 6 : 18)); outp.append(p->address().rawIpData(),((addressType == 4) ? 4 : 16)); |
