From 6ddb86ed98cf20531879f11c2e3148cb933e0616 Mon Sep 17 00:00:00 2001 From: dec05eba 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