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
689945c6
Commit
689945c6
authored
Feb 10, 2014
by
Marcin Siodelski
Browse files
[3274] Fixed two typos.
parent
d8683cbf
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/lib/dhcpsrv/dhcp_parsers.cc
View file @
689945c6
...
...
@@ -846,7 +846,7 @@ RelayInfoParser::build(ConstElementPtr relay_info) {
if
(
(
ip
->
isV4
()
&&
family_
!=
Option
::
V4
)
||
(
ip
->
isV6
()
&&
family_
!=
Option
::
V6
)
)
{
isc_throw
(
DhcpConfigError
,
"ip-address field "
<<
ip
->
toText
()
<<
"does not have IP address of expected family type:"
<<
"does not have IP address of expected family type:
"
<<
(
family_
==
Option
::
V4
?
"IPv4"
:
"IPv6"
));
}
...
...
src/lib/dhcpsrv/dhcp_parsers.h
View file @
689945c6
...
...
@@ -774,7 +774,7 @@ public:
const
isc
::
dhcp
::
Option
::
Universe
family
);
/// @brief parses the actual relay parameters
/// @param relay_info JSON strcture holding relay parameters to parse
/// @param relay_info JSON str
u
cture holding relay parameters to parse
virtual
void
build
(
isc
::
data
::
ConstElementPtr
relay_info
);
/// @brief stores parsed info in relay_info
...
...
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