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
604a4712
Commit
604a4712
authored
Oct 03, 2017
by
Francis Dupont
Browse files
[5369] Fixed comments in new unit tests
parent
044bb373
Changes
1
Show whitespace changes
Inline
Side-by-side
src/bin/dhcp4/tests/fqdn_unittest.cc
View file @
604a4712
...
...
@@ -1107,9 +1107,8 @@ TEST_F(NameDhcpv4SrvTest, processRequestRenewFqdn) {
"965B68B6D438D98E680BF10B09F3BCF"
,
time
(
NULL
),
subnet_
->
getValid
(),
true
);
// Create another Request message but with a different FQDN. Server
// should generate two NameChangeRequests: one to remove existing entry,
// another one to add new entry with updated domain-name.
// Create another Request message with the same FQDN. Server
// should generate no NameChangeRequests.
Pkt4Ptr
req2
=
generatePktWithFqdn
(
DHCPREQUEST
,
Option4ClientFqdn
::
FLAG_S
|
Option4ClientFqdn
::
FLAG_E
,
"myhost.example.com."
,
...
...
@@ -1149,9 +1148,8 @@ TEST_F(NameDhcpv4SrvTest, processRequestRenewHostname) {
"965B68B6D438D98E680BF10B09F3BCF"
,
time
(
NULL
),
subnet_
->
getValid
(),
true
);
// Create another Request message but with a different Hostname. Server
// should generate two NameChangeRequests: one to remove existing entry,
// another one to add new entry with updated domain-name.
// Create another Request message with the same Hostname. Server
// should generate no NameChangeRequests.
Pkt4Ptr
req2
=
generatePktWithHostname
(
DHCPREQUEST
,
"myhost.example.com."
);
// Set interface for the incoming packet. The server requires it to
...
...
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