BIND 10 trac1350, updated. cc20ff993da1ddb1c6e8a98370438b45a2be9e0a [1350] Fix in DHCPv4 option unittest added, ChangeLog entry added.
BIND 10 source code commits
bind10-changes at lists.isc.org
Mon Dec 5 12:33:03 UTC 2011
The branch, trac1350 has been updated
via cc20ff993da1ddb1c6e8a98370438b45a2be9e0a (commit)
from 537af1705fc5c1695b4b601571f65ead81dc1289 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit cc20ff993da1ddb1c6e8a98370438b45a2be9e0a
Author: Tomek Mrugalski <tomasz at isc.org>
Date: Mon Dec 5 13:15:58 2011 +0100
[1350] Fix in DHCPv4 option unittest added, ChangeLog entry added.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
src/lib/dhcp/tests/option_unittest.cc | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
-----------------------------------------------------------------------
diff --git a/ChangeLog b/ChangeLog
index 6ad0836..490ff57 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+ 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
+ added.
+ (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
diff --git a/src/lib/dhcp/tests/option_unittest.cc b/src/lib/dhcp/tests/option_unittest.cc
index 1e28c7c..c9e1689 100644
--- a/src/lib/dhcp/tests/option_unittest.cc
+++ b/src/lib/dhcp/tests/option_unittest.cc
@@ -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());
More information about the bind10-changes
mailing list