aboutsummaryrefslogtreecommitdiff
path: root/src/i2p.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/i2p.cpp')
-rw-r--r--src/i2p.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i2p.cpp b/src/i2p.cpp
index c891562d00..4b79a6826b 100644
--- a/src/i2p.cpp
+++ b/src/i2p.cpp
@@ -392,7 +392,7 @@ Binary Session::MyDestination() const
}
memcpy(&cert_len, &m_private_key.at(CERT_LEN_POS), sizeof(cert_len));
- cert_len = be16toh(cert_len);
+ cert_len = be16toh_internal(cert_len);
const size_t dest_len = DEST_LEN_BASE + cert_len;