1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-27 04:11:35 +01:00

Fixed endianess issues in several classes. Everything is working on big endian architectures so far.

This commit is contained in:
Matias Fontanini
2012-08-21 00:03:55 -03:00
parent 3ef29f831b
commit 80198909eb
12 changed files with 281 additions and 134 deletions

View File

@@ -162,7 +162,7 @@ TEST_F(TCPTest, AlternateChecksum) {
uint8_t found;
tcp.add_altchecksum_option(TCP::CHK_16FLETCHER);
ASSERT_TRUE(tcp.search_altchecksum_option(&found));
EXPECT_EQ(found, (uint8_t)TCP::CHK_16FLETCHER);
EXPECT_EQ(found, TCP::CHK_16FLETCHER);
}
TEST_F(TCPTest, Timestamp) {