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
6b3bc78d
Commit
6b3bc78d
authored
Jan 27, 2014
by
Stephen Morris
Browse files
[2749] Minor comment change.
parent
1685d98e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/dhcp6/dhcp6_srv.cc
View file @
6b3bc78d
...
...
@@ -604,8 +604,7 @@ Dhcpv6Srv::generateServerID() {
seconds
-=
DUID_TIME_EPOCH
;
OptionBuffer
srvid
(
8
+
iface
->
getMacLen
());
// We know that the buffer is at least 8 bytes long at this
// point.
// We know that the buffer is more than 8 bytes long at this point.
writeUint16
(
DUID
::
DUID_LLT
,
&
srvid
[
0
],
2
);
writeUint16
(
HWTYPE_ETHERNET
,
&
srvid
[
2
],
2
);
writeUint32
(
static_cast
<
uint32_t
>
(
seconds
),
&
srvid
[
4
],
4
);
...
...
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