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
7ed2e660
Commit
7ed2e660
authored
Mar 30, 2017
by
Francis Dupont
Browse files
[5132] spelling
parent
b864228e
Changes
6
Hide whitespace changes
Inline
Side-by-side
doc/guide/hooks.xml
View file @
7ed2e660
...
...
@@ -205,7 +205,7 @@
example and create your own custom logging hooks.
</entry>
</row>
<row>
<entry>
Flexible I
n
dentifier
</entry>
<entry>
Flexible Identifier
</entry>
<entry>
Support customers
</entry>
<entry>
Kea 1.2.0 beta
</entry>
<entry>
Kea software provides a way to handle host reservations
...
...
@@ -218,7 +218,7 @@
combination of several options and fields to uniquely identify a
client. Those scenarios are addressed by the Flexible Identifiers
hook application. It allows defining an expression, similar to
the one used in client classifiation,
the one used in client classifi
c
ation,
e.g. substring(relay6[0].option[37],0,6). Each incoming packet is
evaluated against that expression and its value is then searched
in the reservations database.
...
...
premium
@
f6008c55
Subproject commit f6008c55962332a5261d3d9f1973771c870e1c47
src/bin/dhcp4/dhcp4_hooks.dox
View file @
7ed2e660
...
...
@@ -115,9 +115,9 @@ to the end of this list.
- name: @b id_type, type isc::dhcp::Host::IdentifierType, direction: <b>in/out</b>
- name: @b id_value, type std::vector<uint8_t>, direction: <b>out</b>
- @b Description: this callout is executed only if flexible identifers are
- @b Description: this callout is executed only if flexible identif
i
ers are
enabled, i.e. host-reservation-identifiers contain 'flex-id' value. This
callout enables external library to provide values for flexible identifers.
callout enables external library to provide values for flexible identif
i
ers.
To be able to use this feature, flex_id hook library is needed.
- <b>Next step status</b>: If a callout installed on the "host4_identifier" hook
...
...
src/bin/dhcp4/dhcp4_messages.mes
View file @
7ed2e660
# Copyright (C) 2012-201
6
Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2012-201
7
Internet Systems Consortium, Inc. ("ISC")
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
...
...
@@ -238,7 +238,7 @@ information.
% DHCP4_FLEX_ID flexible identifier generated for incoming packet: %1
This debug message is printed when host reservation type is set to flexible identifier
and the expression specified in its configuration generated (was evaluated to)
an i
n
detifier for incoming packet. This debug message is mainly intended as a
an ide
n
tifier for incoming packet. This debug message is mainly intended as a
debugging assistance for flexible identifier.
% DHCP4_GENERATE_FQDN %1: client did not send a FQDN or hostname; FQDN will be be generated for the client
...
...
src/bin/dhcp6/dhcp6_hooks.dox
View file @
7ed2e660
...
...
@@ -116,9 +116,9 @@ to the end of this list.
- name: @b id_type, type isc::dhcp::Host::IdentifierType, direction: <b>in/out</b>
- name: @b id_value, type std::vector<uint8_t>, direction: <b>out</b>
- @b Description: this callout is executed only if flexible identifers are
- @b Description: this callout is executed only if flexible identif
i
ers are
enabled, i.e. host-reservation-identifiers contain 'flex-id' value. This
callout enables external library to provide values for flexible identifers.
callout enables external library to provide values for flexible identif
i
ers.
To be able to use this feature, flex_id hook library is needed.
- <b>Next step status</b>: If a callout installed on the "host6_identifier" hook
...
...
src/lib/eval/evaluate.cc
View file @
7ed2e660
...
...
@@ -17,7 +17,7 @@ bool evaluateBool(const Expression& expr, Pkt& pkt) {
}
if
(
values
.
size
()
!=
1
)
{
isc_throw
(
EvalBadStack
,
"Incorrect stack order. Expected exactly "
"1 value at the end of evaluat
u
ion, got "
<<
values
.
size
());
"1 value at the end of evaluation, got "
<<
values
.
size
());
}
return
(
Token
::
toBool
(
values
.
top
()));
}
...
...
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