mirror of
https://github.com/mfontanini/libtins
synced 2026-01-27 20:24:26 +01:00
Added PDU::matches_pdu override on RC4EAPOL and RSNEAPOL.
This commit is contained in:
@@ -49,11 +49,11 @@ Tins::EAPOL *Tins::EAPOL::from_bytes(const uint8_t *buffer, uint32_t total_sz) {
|
||||
const eapolhdr *ptr = (const eapolhdr*)buffer;
|
||||
switch(ptr->type) {
|
||||
case RC4:
|
||||
return new RC4EAPOL(buffer, total_sz);
|
||||
return new Tins::RC4EAPOL(buffer, total_sz);
|
||||
break;
|
||||
case RSN:
|
||||
case EAPOL_WPA:
|
||||
return new RSNEAPOL(buffer, total_sz);
|
||||
return new Tins::RSNEAPOL(buffer, total_sz);
|
||||
break;
|
||||
}
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user