BIND 10 trac1186, updated. 70adfbaed29ae610af26d410f38ba1abdd3ad8b5 Compilation fixes in dhcpv6_srv following recent changes in DHCPv6 Options.
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Oct 12 12:49:32 UTC 2011
The branch, trac1186 has been updated
via 70adfbaed29ae610af26d410f38ba1abdd3ad8b5 (commit)
from 1213572a61fdf5a81e05fa42b4d7e4ed20c99060 (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 70adfbaed29ae610af26d410f38ba1abdd3ad8b5
Author: Tomek Mrugalski <tomasz at isc.org>
Date: Wed Oct 12 14:49:10 2011 +0200
Compilation fixes in dhcpv6_srv following recent changes in DHCPv6 Options.
-----------------------------------------------------------------------
Summary of changes:
src/bin/dhcp6/dhcp6_srv.cc | 2 +-
src/bin/dhcp6/tests/dhcp6_srv_unittest.cc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/dhcp6/dhcp6_srv.cc b/src/bin/dhcp6/dhcp6_srv.cc
index 83c20a2..ba5afec 100644
--- a/src/bin/dhcp6/dhcp6_srv.cc
+++ b/src/bin/dhcp6/dhcp6_srv.cc
@@ -151,7 +151,7 @@ Dhcpv6Srv::processSolicit(boost::shared_ptr<Pkt6> solicit) {
Option6IA* ia_req = dynamic_cast<Option6IA*>(tmp);
if (ia_req) {
boost::shared_ptr<Option6IA>
- ia_rsp(new Option6IA(Option::V6, D6O_IA_NA, ia_req->getIAID()));
+ ia_rsp(new Option6IA(D6O_IA_NA, ia_req->getIAID()));
ia_rsp->setT1(1500);
ia_rsp->setT2(2600);
boost::shared_ptr<Option6IAAddr>
diff --git a/src/bin/dhcp6/tests/dhcp6_srv_unittest.cc b/src/bin/dhcp6/tests/dhcp6_srv_unittest.cc
index f4f9dec..f9a1d9d 100644
--- a/src/bin/dhcp6/tests/dhcp6_srv_unittest.cc
+++ b/src/bin/dhcp6/tests/dhcp6_srv_unittest.cc
@@ -83,7 +83,7 @@ TEST_F(Dhcpv6SrvTest, Solicit_basic) {
1234, Pkt6::UDP));
boost::shared_ptr<Option6IA> ia =
- boost::shared_ptr<Option6IA>(new Option6IA(Option::V6, D6O_IA_NA, 234));
+ boost::shared_ptr<Option6IA>(new Option6IA(D6O_IA_NA, 234));
ia->setT1(1501);
ia->setT2(2601);
sol->addOption(ia);
More information about the bind10-changes
mailing list