mirror of
https://github.com/mfontanini/libtins
synced 2026-01-23 02:35:57 +01:00
Added PDU::rfind_pdu.
This commit is contained in:
@@ -272,7 +272,7 @@ namespace Tins {
|
||||
bool ret_val(false);
|
||||
LoopData<Functor> *data = reinterpret_cast<LoopData<Functor>*>(args);
|
||||
try {
|
||||
std::auto_ptr<PDU> pdu;
|
||||
Internals::smart_ptr<PDU>::type pdu;
|
||||
if(data->iface_type == DLT_EN10MB)
|
||||
ret_val = call_functor<Tins::EthernetII>(data, packet, header);
|
||||
else if(data->iface_type == DLT_IEEE802_11_RADIO)
|
||||
|
||||
Reference in New Issue
Block a user