Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
70e1ee07
Commit
70e1ee07
authored
Jun 24, 2015
by
Francis Dupont
Browse files
[3919] Fixed typo: compare with itself
parent
220da04c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/dhcp/tests/pkt6_unittest.cc
View file @
70e1ee07
...
...
@@ -828,8 +828,7 @@ TEST_F(Pkt6Test, relayPack) {
EXPECT_EQ
(
opt
->
len
(),
optRelay1
->
len
());
OptionBuffer
data
=
opt
->
getData
();
ASSERT_EQ
(
data
.
size
(),
sizeof
(
relay_opt_data
));
EXPECT_EQ
(
0
,
memcmp
(
relay_opt_data
,
relay_opt_data
,
sizeof
(
relay_opt_data
)));
EXPECT_EQ
(
0
,
memcmp
(
&
data
[
0
],
relay_opt_data
,
sizeof
(
relay_opt_data
)));
}
...
...
Write
Preview
Supports
Markdown
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