Skip to content

Commit

Permalink
Merge pull request hashcat#69 from josephshanak/link-type-error
Browse files Browse the repository at this point in the history
Include pcap header linktype in error
  • Loading branch information
jsteube authored Sep 28, 2022
2 parents 6a00fde + 8045425 commit d6171b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cap2hccapx.c
Original file line number Diff line number Diff line change
Expand Up @@ -975,7 +975,7 @@ int main (int argc, char *argv[])
&& (pcap_file_header.linktype != DLT_IEEE802_11_RADIO)
&& (pcap_file_header.linktype != DLT_IEEE802_11_PPI_HDR))
{
fprintf (stderr, "%s: Unsupported linktype detected\n", in);
fprintf (stderr, "%s: Unsupported linktype detected %d\n", in, pcap_file_header.linktype);

return -1;
}
Expand Down

0 comments on commit d6171b2

Please sign in to comment.