mirror of
https://github.com/mfontanini/libtins
synced 2026-01-27 04:11:35 +01:00
Added ICMP class. It was tested and it's working.
This commit is contained in:
@@ -155,6 +155,7 @@ void Tins::TCP::write_serialization(uint8_t *buffer, uint32_t total_sz, const PD
|
||||
_tcp.check = Utils::net_to_host_s(~checksum);
|
||||
}
|
||||
memcpy(tcp_start, &_tcp, sizeof(tcphdr));
|
||||
_tcp.check = 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user