diff options
author | Francis Dupont <fdupont@isc.org> | 2017-10-07 17:44:48 +0200 |
---|---|---|
committer | Francis Dupont <fdupont@isc.org> | 2017-10-07 17:44:48 +0200 |
commit | c406e1d85cf9041a562d87787b813453378b7aa7 (patch) | |
tree | e3a4e3a0b4dd57648b3737aff18918fc30e977f5 /src/bin/perfdhcp/tests/perf_pkt6_unittest.cc | |
parent | [master] typo (diff) | |
download | kea-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.cc | 2 |
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. |