Commit 70e1ee07 authored by Francis Dupont's avatar Francis Dupont
Browse files

[3919] Fixed typo: compare with itself

parent 220da04c
......@@ -828,8 +828,7 @@ TEST_F(Pkt6Test, relayPack) {
EXPECT_EQ(opt->len(), optRelay1->len());
OptionBuffer data = opt->getData();
ASSERT_EQ(data.size(), sizeof(relay_opt_data));
memcmp(relay_opt_data, relay_opt_data, sizeof(relay_opt_data)));
EXPECT_EQ(0, memcmp(&data[0], relay_opt_data, sizeof(relay_opt_data)));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment