Skip to content

Commit

Permalink
Update link type with new DLT
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown committed Nov 26, 2020
1 parent 90769c6 commit b857aa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pcap-etw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b857aa7

Please sign in to comment.