You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The expected output is: Total packets: 1
The actual output is : Total packets: 0
I have dug a little into the library's code, and I think the problem originates from this line: data->pdu = safe_alloc<EthernetII( (const uint8_t*)bytes, h->caplen); ( sniff_loop_eth_handler function, in sniffer.cpp file)
this line of code sets the data->pdu to NULL, instead of setting non-NULL value
Let me know if there is additional information needed,
Hi,
I try to parse multicast(fieldbus) packets( see attached zipped pcap file, containing single packet).
Environment: Ubuntu 18.04.6
Below is the code I wrote to reproduce the issue:
The expected output is:
Total packets: 1
The actual output is :
Total packets: 0
I have dug a little into the library's code, and I think the problem originates from this line:
data->pdu = safe_alloc<EthernetII( (const uint8_t*)bytes, h->caplen);
(sniff_loop_eth_handler
function, insniffer.cpp
file)this line of code sets the
data->pdu
toNULL
, instead of settingnon-NULL
valueLet me know if there is additional information needed,
Tnx.
mcast_fieldbus_packet.zip
The text was updated successfully, but these errors were encountered: