Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
2c70372e
Commit
2c70372e
authored
Nov 05, 2012
by
Marcin Siodelski
Browse files
[2417] Initialize standard option definitions and keep them in storage.
parent
f94b033c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/dhcp6/tests/config_parser_unittest.cc
View file @
2c70372e
...
...
@@ -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
()
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment