diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2023-05-23 09:32:48 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2023-05-23 09:34:29 +0200 |
commit | eda974efc41fba64771f450678c64ef168c11a3c (patch) | |
tree | cd5ef26faebf9d549c23dee82b6d7aacf423282e /pcap | |
parent | 1b5ddac906932f861aabddadd464e6f8a1bec030 (diff) |
Revert "pcap: Update the per-file header to use reserved1 and reserved2"
This reverts commit c2dfd817646d071bf62a3968a0454301e5395d18.
From a Denis remark: struct pcap_file_header is in a public header.
pcap-savefile.manfile.in will be updated separately.
Diffstat (limited to 'pcap')
-rw-r--r-- | pcap/pcap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pcap/pcap.h b/pcap/pcap.h index b24259d9..53733b54 100644 --- a/pcap/pcap.h +++ b/pcap/pcap.h @@ -208,8 +208,8 @@ struct pcap_file_header { bpf_u_int32 magic; u_short version_major; u_short version_minor; - bpf_int32 reserved1; /* not used - SHOULD be filled with 0 */ - bpf_u_int32 reserved2; /* not used - SHOULD be filled with 0 */ + bpf_int32 thiszone; /* gmt to local correction; this is always 0 */ + bpf_u_int32 sigfigs; /* accuracy of timestamps; this is always 0 */ bpf_u_int32 snaplen; /* max length saved portion of each pkt */ bpf_u_int32 linktype; /* data link type (LINKTYPE_*) */ }; |