Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Kea
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Adam Osuchowski
Kea
Commits
821b8427
Commit
821b8427
authored
Feb 27, 2015
by
Shawn Routhier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[trac3706] Lets use the hostname instead of removing it
parent
ff0f2e2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tests/tools/dhcp-ubench/memfile_ubench.cc
tests/tools/dhcp-ubench/memfile_ubench.cc
+2
-2
No files found.
tests/tools/dhcp-ubench/memfile_ubench.cc
View file @
821b8427
...
...
@@ -215,7 +215,7 @@ void memfile_uBenchmark::createLease4Test() {
time_t
cltt
=
time
(
NULL
);
// Timestamp
uint32_t
pool_id
=
0
;
// Let's use pools 0-99
bool
fixed
=
false
;
// Hostname will be generated
dynamically
string
hostname
(
"foo"
);
// Hostname
dynamically
bool
fqdn_fwd
=
true
;
// Let's pretend to do AAAA update
bool
fqdn_rev
=
true
;
// Let's pretend to do PTR update
...
...
@@ -247,7 +247,7 @@ void memfile_uBenchmark::createLease4Test() {
lease
->
cltt
=
cltt
;
lease
->
pool_id
=
pool_id
;
lease
->
fixed
=
fixed
;
lease
->
hostname
=
"foo"
;
lease
->
hostname
=
hostname
;
lease
->
fqdn_fwd
=
fqdn_fwd
;
lease
->
fqdn_rev
=
fqdn_rev
;
...
...
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