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
f8b3eb80
Commit
f8b3eb80
authored
Sep 04, 2017
by
Francis Dupont
Browse files
[5350] spelling
parent
502e6483
Changes
2
Hide whitespace changes
Inline
Side-by-side
doc/examples/kea4/advanced.json
View file @
f8b3eb80
...
...
@@ -84,7 +84,7 @@
//
explanation
is
user-context.
This
is
a
structure
that
you
can
define
//
in
subnets
and
pools.
It
is
parsed
by
Kea
,
but
not
used
directly.
//
It
is
intended
to
keep
anything
you
may
want
to
put
there
-
comments
,
//
extra
designations
,
floor
or
depatment
names
etc.
Th
is
structures
//
extra
designations
,
floor
or
depa
r
tment
names
etc.
Th
ese
structures
//
will
be
made
available
to
Kea
hooks.
"subnet4"
:
[
{
...
...
src/lib/dhcpsrv/subnet.cc
View file @
f8b3eb80
...
...
@@ -542,7 +542,7 @@ Subnet::toElement() const {
ConstCfgOptionPtr
opts
=
getCfgOption
();
map
->
set
(
"option-data"
,
opts
->
toElement
());
// Add user-context, but only if
defined. Omit if it was not.
// Add user-context, but only if defined. Omit if it was not.
ConstElementPtr
ctx
=
getContext
();
if
(
ctx
)
{
map
->
set
(
"user-context"
,
ctx
);
...
...
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