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

Fixed some bugs in ICMPv6.

This commit is contained in:
Matias Fontanini
2012-11-26 19:47:15 -03:00
parent 4576d8746c
commit e6e3e8453b
3 changed files with 24 additions and 1 deletions

View File

@@ -149,6 +149,9 @@ void IPv6::write_serialization(uint8_t *buffer, uint32_t total_sz, const PDU *pa
case PDU::ICMP:
new_flag = Constants::IP::PROTO_ICMP;
break;
case PDU::ICMPv6:
new_flag = Constants::IP::PROTO_ICMPV6;
break;
default:
break;
};