aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/net.cpp b/net.cpp
index 28b4f428..ae605379 100644
--- a/net.cpp
+++ b/net.cpp
@@ -246,7 +246,7 @@ BOOST_AUTO_TEST_CASE(neighboursPacketLength)
{
Neighbours::Node node;
node.ipAddress = boost::asio::ip::address::from_string("200.200.200.200").to_string();
- node.port = testNodes[i].second;
+ node.udpPort = testNodes[i].second;
node.node = testNodes[i].first.pub();
out.nodes.push_back(node);
}