From a4e128e5e46c9fcf00fd874c8386988f9d3b73fa Mon Sep 17 00:00:00 2001 From: dec05eba <0xdec05eba@gmail.com> Date: Wed, 17 Oct 2018 06:05:04 +0200 Subject: Fix deserialization of nodes --- src/DirectConnection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/DirectConnection.cpp b/src/DirectConnection.cpp index e41a4a5..f8ff0f2 100644 --- a/src/DirectConnection.cpp +++ b/src/DirectConnection.cpp @@ -410,7 +410,7 @@ namespace sibs std::shared_ptr peer = std::make_shared(); peer->address.address.sin_family = deserializer.extract(); peer->address.address.sin_addr.s_addr = deserializer.extract(); - peer->address.address.sin_port = deserializer.extract(); + peer->address.address.sin_port = deserializer.extract(); result.push_back(peer); } return result; -- cgit v1.2.3