summaryrefslogtreecommitdiffstats
path: root/src/bin/perfdhcp/tests/perf_pkt6_unittest.cc
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2017-10-07 17:44:48 +0200
committerFrancis Dupont <fdupont@isc.org>2017-10-07 17:44:48 +0200
commitc406e1d85cf9041a562d87787b813453378b7aa7 (patch)
treee3a4e3a0b4dd57648b3737aff18918fc30e977f5 /src/bin/perfdhcp/tests/perf_pkt6_unittest.cc
parent[master] typo (diff)
downloadkea-c406e1d85cf9041a562d87787b813453378b7aa7.tar.xz
kea-c406e1d85cf9041a562d87787b813453378b7aa7.zip
[master] Swapped memcmp arguments to make clang happy
Diffstat (limited to 'src/bin/perfdhcp/tests/perf_pkt6_unittest.cc')
-rw-r--r--src/bin/perfdhcp/tests/perf_pkt6_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/perfdhcp/tests/perf_pkt6_unittest.cc b/src/bin/perfdhcp/tests/perf_pkt6_unittest.cc
index 71a23c6273..f4e5b41b75 100644
--- a/src/bin/perfdhcp/tests/perf_pkt6_unittest.cc
+++ b/src/bin/perfdhcp/tests/perf_pkt6_unittest.cc
@@ -279,7 +279,7 @@ TEST_F(PerfPkt6Test, PackTransactionId) {
ASSERT_LE(offset_transid[0], out_buf.getLength());
// Validate transaction id.
- EXPECT_EQ(0, memcmp(out_buf_data + offset_transid[0], ref_data, 3));
+ EXPECT_EQ(0, memcmp(ref_data, out_buf_data + offset_transid[0], 3));
// Out of bounds transaction id offset.