Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
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
a21afdff
Commit
a21afdff
authored
May 21, 2015
by
Francis Dupont
Browse files
[3881] Added a config commit
parent
8ab6d170
Changes
1
Show whitespace changes
Inline
Side-by-side
src/bin/dhcp4/tests/dhcp4_srv_unittest.cc
View file @
a21afdff
...
...
@@ -2403,6 +2403,9 @@ TEST_F(HooksDhcpv4SrvTest, subnet4SelectSimple) {
comment_
=
config
::
parseAnswer
(
rcode_
,
status
);
ASSERT_EQ
(
0
,
rcode_
);
// Commit the config
CfgMgr
::
instance
().
commit
();
// Prepare discover packet. Server should select first subnet for it
Pkt4Ptr
sol
=
Pkt4Ptr
(
new
Pkt4
(
DHCPDISCOVER
,
1234
));
sol
->
setRemoteAddr
(
IOAddress
(
"192.0.2.1"
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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