From b857aa7442280a44709277d0357be807a6cfc12a Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 26 Nov 2020 10:05:41 +0100 Subject: [PATCH] Update link type with new DLT --- pcap-etw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcap-etw.c b/pcap-etw.c index 9729d4c27b..21d22d5664 100644 --- a/pcap-etw.c +++ b/pcap-etw.c @@ -315,7 +315,7 @@ pcap_create_interface(const char *device _U_, char *ebuf) handle->stats_op = pcap_stats_etw; handle->read_op = pcap_read_op_etw; handle->snapshot = MAXIMUM_SNAPLEN; - handle->linktype = DLT_USER0; + handle->linktype = DLT_ETW; pcap_etw_t* etw = (pcap_etw_t*)handle->priv; pcap_etw_list_init(&etw->events);