BIND 10 trac3360, updated. 9ed199e32506a1370653a1f9d991cee6c120ab19 [3360] Initialize universe when using Memfile backend.
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue Mar 25 15:39:05 UTC 2014
The branch, trac3360 has been updated
via 9ed199e32506a1370653a1f9d991cee6c120ab19 (commit)
from 5785c87a155254aa1367edf6ecb9032f8c1763a5 (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 9ed199e32506a1370653a1f9d991cee6c120ab19
Author: Marcin Siodelski <marcin at isc.org>
Date: Tue Mar 25 16:38:56 2014 +0100
[3360] Initialize universe when using Memfile backend.
-----------------------------------------------------------------------
Summary of changes:
src/bin/dhcp4/dhcp4_srv.h | 2 +-
src/bin/dhcp6/tests/dhcp6_test_utils.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/dhcp4/dhcp4_srv.h b/src/bin/dhcp4/dhcp4_srv.h
index 4bae907..d041258 100644
--- a/src/bin/dhcp4/dhcp4_srv.h
+++ b/src/bin/dhcp4/dhcp4_srv.h
@@ -88,7 +88,7 @@ public:
/// @param direct_response_desired specifies if it is desired to
/// use direct V4 traffic.
Dhcpv4Srv(uint16_t port = DHCP4_SERVER_PORT,
- const char* dbconfig = "type=memfile",
+ const char* dbconfig = "type=memfile universe=4",
const bool use_bcast = true,
const bool direct_response_desired = true);
diff --git a/src/bin/dhcp6/tests/dhcp6_test_utils.h b/src/bin/dhcp6/tests/dhcp6_test_utils.h
index b68f7b5..9f6e018 100644
--- a/src/bin/dhcp6/tests/dhcp6_test_utils.h
+++ b/src/bin/dhcp6/tests/dhcp6_test_utils.h
@@ -45,7 +45,7 @@ class NakedDhcpv6Srv: public isc::dhcp::Dhcpv6Srv {
public:
NakedDhcpv6Srv(uint16_t port) : isc::dhcp::Dhcpv6Srv(port) {
// Open the "memfile" database for leases
- std::string memfile = "type=memfile";
+ std::string memfile = "type=memfile universe=6";
isc::dhcp::LeaseMgrFactory::create(memfile);
}
More information about the bind10-changes
mailing list