diff options
author | Guy Harris <guy@alum.mit.edu> | 2020-03-27 20:08:33 -0700 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2020-03-28 03:34:18 +0000 |
commit | fd88bfa348677ec7bdd95d6a7130a08212ee98f7 (patch) | |
tree | 979a32097209379646ce4dccb107859ce52e04df /text2pcap.c | |
parent | 5e77ab8b9512519c7e975bbbac264a2241904bc6 (diff) |
Write the if_hardware option, if available, to pcapng files when capturing.
Change-Id: Ib9ff78d148a2364c84d84b4a9b020b3d783654a3
Reviewed-on: https://code.wireshark.org/review/36602
Petri-Dish: Guy Harris <gharris@sonic.net>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <gharris@sonic.net>
Diffstat (limited to 'text2pcap.c')
-rw-r--r-- | text2pcap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/text2pcap.c b/text2pcap.c index 902b2b8d11..dc20e2ead3 100644 --- a/text2pcap.c +++ b/text2pcap.c @@ -895,6 +895,7 @@ write_file_header (void) NULL, "", NULL, + NULL, pcap_link_type, WTAP_MAX_PACKET_SIZE_STANDARD, &bytes_written, |