diff --git a/src/sniffer.cpp b/src/sniffer.cpp index 8cac7cd..40ec1fe 100644 --- a/src/sniffer.cpp +++ b/src/sniffer.cpp @@ -159,7 +159,7 @@ PtrPacket BaseSniffer::next_packet() { throw protocol_disabled(); #endif } - else if(iface_type == DLT_LOOP) + else if(iface_type == DLT_NULL) handler = &sniff_loop_handler; else if(iface_type == DLT_LINUX_SLL) handler = &sniff_loop_handler;