Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
05d4deb6
Commit
05d4deb6
authored
Nov 02, 2011
by
Tomek Mrugalski
🛰
Browse files
Fix for pkt4 unittest, introduced in 1226.
parent
66bb38a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/dhcp/tests/pkt4_unittest.cc
View file @
05d4deb6
...
...
@@ -183,7 +183,7 @@ generateTestPacket2() {
vector
<
uint8_t
>
buf
(
hdr
,
hdr
+
sizeof
(
hdr
));
// Append the large header fields.
copy
(
dummy
MacA
ddr
,
dummy
MacA
ddr
+
Pkt4
::
MAX_CHADDR_LEN
,
back_inserter
(
buf
));
copy
(
dummy
Cha
ddr
,
dummy
Cha
ddr
+
Pkt4
::
MAX_CHADDR_LEN
,
back_inserter
(
buf
));
copy
(
dummySname
,
dummySname
+
Pkt4
::
MAX_SNAME_LEN
,
back_inserter
(
buf
));
copy
(
dummyFile
,
dummyFile
+
Pkt4
::
MAX_FILE_LEN
,
back_inserter
(
buf
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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