mirror of
https://github.com/mfontanini/libtins
synced 2026-01-27 04:11:35 +01:00
Removed deprecated methods/types.
This commit is contained in:
@@ -215,13 +215,13 @@ TEST_F(TCPTest, SpoofedOptions) {
|
||||
TCP pdu;
|
||||
uint8_t a[] = { 1,2,3,4,5,6 };
|
||||
pdu.add_option(
|
||||
TCP::tcp_option(TCP::SACK, 250, a, a + sizeof(a))
|
||||
TCP::option(TCP::SACK, 250, a, a + sizeof(a))
|
||||
);
|
||||
pdu.add_option(
|
||||
TCP::tcp_option(TCP::SACK, 250, a, a + sizeof(a))
|
||||
TCP::option(TCP::SACK, 250, a, a + sizeof(a))
|
||||
);
|
||||
pdu.add_option(
|
||||
TCP::tcp_option(TCP::SACK, 250, a, a + sizeof(a))
|
||||
TCP::option(TCP::SACK, 250, a, a + sizeof(a))
|
||||
);
|
||||
// probably we'd expect it to crash if it's not working, valgrind plx
|
||||
EXPECT_EQ(3, pdu.options().size());
|
||||
|
||||
Reference in New Issue
Block a user