aboutsummaryrefslogtreecommitdiffstats
path: root/net.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'net.cpp')
-rw-r--r--net.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/net.cpp b/net.cpp
index 2ecfafb8..7ba2d8a1 100644
--- a/net.cpp
+++ b/net.cpp
@@ -153,7 +153,7 @@ BOOST_AUTO_TEST_CASE(badPingNodePacket)
PingNode p((bi::udp::endpoint()));
BOOST_REQUIRE_NO_THROW(p = PingNode::fromBytesConstRef(bi::udp::endpoint(), bytesConstRef(&s.out())));
- BOOST_REQUIRE(p.version = 0);
+ BOOST_REQUIRE(p.version == 0);
}
BOOST_AUTO_TEST_CASE(test_neighbours_packet)