Skip to content

Commit 8fdf532

Browse files
committed
pcap savefile: Add the hexa 16-bit values for Major/Minor version
Both big-endian and little-endian as in draft-ietf-opsawg-pcap.md. [skip ci]
1 parent d62a199 commit 8fdf532

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pcap-savefile.manfile.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
.\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
1818
.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
1919
.\"
20-
.TH PCAP-SAVEFILE @MAN_FILE_FORMATS@ "16 Aug 2023"
20+
.TH PCAP-SAVEFILE @MAN_FILE_FORMATS@ "6 Jan 2025"
2121
.SH NAME
2222
pcap-savefile \- libpcap savefile format
2323
.SH DESCRIPTION
@@ -86,10 +86,10 @@ seconds and nanoseconds rather than seconds and microseconds.
8686
Following this are:
8787
.IP
8888
A 2-byte file format major version number; the current version number is
89-
2.
89+
2 (big-endian 0x00 0x02 or little-endian 0x02 0x00).
9090
.IP
9191
A 2-byte file format minor version number; the current version number is
92-
4.
92+
4 (big-endian 0x00 0x04 or little-endian 0x04 0x00).
9393
.IP
9494
A 4-byte not used - SHOULD be filled with 0 by pcap file writers, and MUST
9595
be ignored by pcap file readers. This value was documented by some older

0 commit comments

Comments
 (0)