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

Add active tests for IPv4

This commit is contained in:
Matias Fontanini
2016-03-20 16:27:43 -07:00
parent a70ce10bed
commit 5dc7b20a43
15 changed files with 865 additions and 2 deletions

View File

@@ -435,7 +435,7 @@ void IP::write_serialization(uint8_t* buffer, uint32_t total_sz, const PDU* pare
Internals::pdu_type_to_id<IP>(inner_pdu()->pdu_type())
);
}
if (!is_fragmented() && new_flag != 0xff) {
if (new_flag != 0xff) {
protocol(new_flag);
}
}