BIND 10 trac2417, updated. 2c70372efd0b0ddb8059d5bbe9eb195f024d4df8 [2417] Initialize standard option definitions and keep them in storage.
BIND 10 source code commits
bind10-changes at lists.isc.org
Mon Nov 5 14:09:47 UTC 2012
The branch, trac2417 has been updated
via 2c70372efd0b0ddb8059d5bbe9eb195f024d4df8 (commit)
from f94b033cbf46821f0391b5512a5fdcb70ffbc6e4 (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 2c70372efd0b0ddb8059d5bbe9eb195f024d4df8
Author: Marcin Siodelski <marcin at isc.org>
Date: Mon Nov 5 15:09:39 2012 +0100
[2417] Initialize standard option definitions and keep them in storage.
-----------------------------------------------------------------------
Summary of changes:
src/bin/dhcp6/tests/config_parser_unittest.cc | 5 +++++
1 file changed, 5 insertions(+)
-----------------------------------------------------------------------
diff --git a/src/bin/dhcp6/tests/config_parser_unittest.cc b/src/bin/dhcp6/tests/config_parser_unittest.cc
index 4e5bfd6..929a6d2 100644
--- a/src/bin/dhcp6/tests/config_parser_unittest.cc
+++ b/src/bin/dhcp6/tests/config_parser_unittest.cc
@@ -25,6 +25,7 @@
#include <dhcp6/dhcp6_srv.h>
#include <dhcp6/config_parser.h>
#include <config/ccsession.h>
+#include <dhcp/libdhcp++.h>
#include <dhcp/subnet.h>
#include <dhcp/cfgmgr.h>
#include <dhcp/option6_ia.h>
@@ -46,6 +47,10 @@ public:
// deal with sockets here, just check if configuration handling
// is sane.
srv_ = new Dhcpv6Srv(0);
+ // Create instances of option definitions and put them into storage.
+ // This is normally initialized by the server when calling run()
+ // run() function.
+ LibDHCP::initStdOptionDefs(Option::V6);
}
~Dhcp6ParserTest() {
More information about the bind10-changes
mailing list