1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-27 12:14:26 +01:00

Merge branch 'master' of github.com:mfontanini/libtins

This commit is contained in:
Matias Fontanini
2015-04-23 19:12:25 -07:00

View File

@@ -385,7 +385,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(!is_fragmented() && new_flag != 0xff)
protocol(new_flag);
}