mirror of
https://github.com/mfontanini/libtins
synced 2026-01-30 05:24:26 +01:00
The FCS-at-end flag was being ignored in RadioTap. Added beacon display example.
This commit is contained in:
@@ -189,7 +189,7 @@ namespace Tins {
|
||||
T *find_pdu(PDUType type = T::pdu_flag) {
|
||||
PDU *pdu = this;
|
||||
while(pdu) {
|
||||
if(pdu->pdu_type() == type)
|
||||
if(pdu->matches_flag(type))
|
||||
return static_cast<T*>(pdu);
|
||||
pdu = pdu->inner_pdu();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user