git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests - Cleanup (disabling TCP Window Size module test)
[tpg/acess2.git]
/
Tools
/
NetTest_Runner
/
link.c
diff --git
a/Tools/NetTest_Runner/link.c
b/Tools/NetTest_Runner/link.c
index
53dfde5
..
96fddaf
100644
(file)
--- a/
Tools/NetTest_Runner/link.c
+++ b/
Tools/NetTest_Runner/link.c
@@
-38,8
+38,8
@@
bool Link_Pkt_Check(size_t len, const void *data, size_t *ofs_out,
const uint8_t *data8 = data;
TEST_ASSERT_REL(len, >=, 6+6+2);
const uint8_t *data8 = data;
TEST_ASSERT_REL(len, >=, 6+6+2);
- if(
Src) TEST_ASSERT( memcmp(data8+0, Src
, 6) == 0 );
- if(
Dst) TEST_ASSERT( memcmp(data8+6, Dst
, 6) == 0 );
+ if(
Dst) TEST_ASSERT( memcmp(data8+0, Dst
, 6) == 0 );
+ if(
Src) TEST_ASSERT( memcmp(data8+6, Src
, 6) == 0 );
TEST_ASSERT_REL( ntohs(*(uint16_t*)(data8+12)), ==, Proto );
TEST_ASSERT_REL( ntohs(*(uint16_t*)(data8+12)), ==, Proto );
UCC
git Repository :: git.ucc.asn.au