Commit cc20ff99 authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰
Browse files

[1350] Fix in DHCPv4 option unittest added, ChangeLog entry added.

parent 537af170
305. [func] tomek
libdhcp++: Support for DHCPv4 option that can store a single
address or a list of IPv4 addresses added. Support for END option
(Trac #1350, git TBD)
304. [func] tomek
libdhcp: Support for DHCPv4 packet manipulation is now implemented.
All fixed fields are now supported. Generic support for DHCPv4
......@@ -87,7 +87,7 @@ TEST_F(OptionTest, v4_data1) {
EXPECT_EQ(123, opt->getType());
vector<uint8_t> optData = opt->getData();
ASSERT_EQ(optData.size(), data.size());
EXPECT_EQ(optData, data);
EXPECT_TRUE(optData == data);
EXPECT_EQ(2, opt->getHeaderLen());
EXPECT_EQ(6, opt->len());
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