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

Added correct handling of the PDU::IPv6 flag in Internals::pdu_flag_to_ip_type.

This commit is contained in:
Matias Fontanini
2014-04-07 13:29:14 -03:00
parent cd2b9aab98
commit 86e3f138f8

View File

@@ -205,6 +205,8 @@ Constants::IP::e pdu_flag_to_ip_type(PDU::PDUType flag) {
switch(flag) {
case PDU::IP:
return Constants::IP::PROTO_IPIP;
case PDU::IPv6:
return Constants::IP::PROTO_IPV6;
case PDU::TCP:
return Constants::IP::PROTO_TCP;
case PDU::UDP: