1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-28 04:34:27 +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

@@ -162,7 +162,7 @@ PtrPacket BaseSniffer::next_packet() {
}
#ifdef DLT_PKTAP
else if (iface_type == DLT_PKTAP) {
handler = &sniff_loop_handler<PKTAP>();
handler = &sniff_loop_handler<PKTAP>;
}
#endif // DLT_PKTAP
else if(iface_type == DLT_NULL)