mirror of
https://github.com/mfontanini/libtins
synced 2026-01-26 03:51:35 +01:00
changed ICMP::check to ICMP::checksum for both the public getter and private setter. closes #10
This commit is contained in:
@@ -86,7 +86,7 @@ void ICMP::type(Flags new_type) {
|
||||
_icmp.type = new_type;
|
||||
}
|
||||
|
||||
void ICMP::check(uint16_t new_check) {
|
||||
void ICMP::checksum(uint16_t new_check) {
|
||||
_icmp.check = Endian::host_to_be(new_check);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user