mirror of
https://github.com/mfontanini/libtins
synced 2026-01-27 12:14:26 +01:00
Fix bug on EAPOL over snap serialization.
This commit is contained in:
@@ -227,6 +227,9 @@ Constants::Ethernet::e pdu_flag_to_ether_type(PDU::PDUType flag) {
|
||||
return Constants::Ethernet::VLAN;
|
||||
case PDU::PPPOE:
|
||||
return Constants::Ethernet::PPPOED;
|
||||
case PDU::RSNEAPOL:
|
||||
case PDU::RC4EAPOL:
|
||||
return Constants::Ethernet::EAPOL;
|
||||
default:
|
||||
if(Internals::pdu_type_registered<EthernetII>(flag))
|
||||
return static_cast<Constants::Ethernet::e>(
|
||||
|
||||
Reference in New Issue
Block a user