BIND 10 master, updated. fe2331e7e0cadd2e70dfecdb9cf5a67f6484a5bd [master] Initialize rcode_ to avoid cppcheck warning
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Jul 24 08:40:33 UTC 2013
The branch, master has been updated
via fe2331e7e0cadd2e70dfecdb9cf5a67f6484a5bd (commit)
via 135b47d64fba42eda8cd194f257ed77efb441797 (commit)
from 616213225fee89adc57c8ea19a2195f8273dc5fa (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 fe2331e7e0cadd2e70dfecdb9cf5a67f6484a5bd
Author: Mukund Sivaraman <muks at isc.org>
Date: Wed Jul 24 11:28:56 2013 +0530
[master] Initialize rcode_ to avoid cppcheck warning
commit 135b47d64fba42eda8cd194f257ed77efb441797
Author: Mukund Sivaraman <muks at isc.org>
Date: Wed Jul 24 11:23:20 2013 +0530
[master] Make Dhcpv4Srv destructor virtual (as it has virtual functions)
-----------------------------------------------------------------------
Summary of changes:
src/bin/dhcp4/dhcp4_srv.h | 2 +-
src/bin/dhcp4/tests/dhcp4_srv_unittest.cc | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/dhcp4/dhcp4_srv.h b/src/bin/dhcp4/dhcp4_srv.h
index e0959a5..432327c 100644
--- a/src/bin/dhcp4/dhcp4_srv.h
+++ b/src/bin/dhcp4/dhcp4_srv.h
@@ -80,7 +80,7 @@ public:
const bool direct_response_desired = true);
/// @brief Destructor. Used during DHCPv4 service shutdown.
- ~Dhcpv4Srv();
+ virtual ~Dhcpv4Srv();
/// @brief Main server processing loop.
///
diff --git a/src/bin/dhcp4/tests/dhcp4_srv_unittest.cc b/src/bin/dhcp4/tests/dhcp4_srv_unittest.cc
index 93b0a4f..2cdf900 100644
--- a/src/bin/dhcp4/tests/dhcp4_srv_unittest.cc
+++ b/src/bin/dhcp4/tests/dhcp4_srv_unittest.cc
@@ -193,7 +193,9 @@ public:
///
/// Initializes common objects used in many tests.
/// Also sets up initial configuration in CfgMgr.
- Dhcpv4SrvTest() {
+ Dhcpv4SrvTest() :
+ rcode_(0)
+ {
subnet_ = Subnet4Ptr(new Subnet4(IOAddress("192.0.2.0"), 24, 1000,
2000, 3000));
pool_ = Pool4Ptr(new Pool4(IOAddress("192.0.2.100"), IOAddress("192.0.2.110")));
More information about the bind10-changes
mailing list