mirror of
https://github.com/mfontanini/libtins
synced 2026-01-23 02:35:57 +01:00
Fixed invalid Loopback protocol detection on FreeBSD/OSX.
This commit is contained in:
@@ -159,7 +159,7 @@ PtrPacket BaseSniffer::next_packet() {
|
|||||||
throw protocol_disabled();
|
throw protocol_disabled();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
else if(iface_type == DLT_LOOP)
|
else if(iface_type == DLT_NULL)
|
||||||
handler = &sniff_loop_handler<Tins::Loopback>;
|
handler = &sniff_loop_handler<Tins::Loopback>;
|
||||||
else if(iface_type == DLT_LINUX_SLL)
|
else if(iface_type == DLT_LINUX_SLL)
|
||||||
handler = &sniff_loop_handler<SLL>;
|
handler = &sniff_loop_handler<SLL>;
|
||||||
|
|||||||
Reference in New Issue
Block a user