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
028bed90
Commit
028bed90
authored
Oct 11, 2012
by
Tomek Mrugalski
🛰
Browse files
[2269] Typo fixed.
parent
1517f32c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/dhcp6/config_parser.cc
View file @
028bed90
...
...
@@ -361,9 +361,9 @@ public:
// are allowed
string
txt
=
text_pool
->
stringValue
();
// first let's remove any spaces
or tabs
boost
::
erase_all
(
txt
,
" "
);
boost
::
erase_all
(
txt
,
"
\t
"
);
// first let's remove any
white
spaces
boost
::
erase_all
(
txt
,
" "
);
// space
boost
::
erase_all
(
txt
,
"
\t
"
);
// tabulation
// Is this prefix/len notation?
size_t
pos
=
txt
.
find
(
"/"
);
...
...
@@ -373,7 +373,7 @@ public:
try
{
addr
=
IOAddress
(
txt
.
substr
(
0
,
pos
));
// start with the first charater after /
// start with the first chara
c
ter after /
string
prefix_len
=
txt
.
substr
(
pos
+
1
);
// It is lexical cast to int and then downcast to uint8_t.
...
...
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