1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-28 12:44:25 +01:00

Fixed PKTAP next layer interpretation.

This commit is contained in:
Matias Fontanini
2014-12-21 10:51:18 -08:00
parent a4c67e5acd
commit 65607b0eb5
6 changed files with 68 additions and 3 deletions

View File

@@ -49,8 +49,8 @@ PKTAP::PKTAP(const uint8_t* buffer, uint32_t total_sz)
total_sz -= header_length;
if (header_.next && total_sz > 0) {
inner_pdu(
Internals::pdu_from_flag(
(Constants::Ethernet::e)header_.dlt,
Internals::pdu_from_dlt_flag(
header_.dlt,
buffer,
total_sz
)