mirror of
https://github.com/mfontanini/libtins
synced 2026-01-28 20:44:26 +01:00
Added correct handling of the PDU::IPv6 flag in Internals::pdu_flag_to_ip_type.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user