Skip to content

Commit c266f19

Browse files
author
xsiska12
committed
Dpdk: set Dpdk datalink to zero
1 parent ccb70cb commit c266f19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

input/dpdk.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ InputPlugin::Result DpdkReader::get(PacketBlock& packets)
403403
}
404404

405405
#ifndef WITH_FLEXPROBE
406-
parser_opt_t opt { &packets, false, false, DLT_EN10MB };
406+
parser_opt_t opt {&packets, false, false, 0};
407407
#endif
408408
packets.cnt = 0;
409409
for (auto i = 0; i < pkts_read_; i++) {

0 commit comments

Comments
 (0)