Skip to content

Commit b6d1d42

Browse files
johnthackerinfrastation
authored andcommitted
LINKTYPE_NFLOG: Fix size of hardware address structure padding.
It is two octets, not one octet, to pad to a 32-bit boundary. That matches observed captures, and also see: https://github.com/torvalds/linux/blob/master/include/uapi/linux/netfilter/nfnetlink_log.h#L27 https://github.com/the-tcpdump-group/libpcap/blob/master/pcap/nflog.h#L64 Signed-off-by: John Thacker <johnthacker@gmail.com>
1 parent a8e72c0 commit b6d1d42

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

htmlsrc/linktypes/LINKTYPE_NFLOG.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ <h3 class="subtitle">Description</h3>
112112
| (2 Octets) |
113113
+-------------------------------+
114114
| Padding |
115-
| (1 Octet) |
115+
| (2 Octets) |
116116
+-------------------------------+
117117
| Address |
118118
| (8 Octets, including padding) |

linktypes/LINKTYPE_NFLOG.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ <h3 class="subtitle">Description</h3>
156156
| (2 Octets) |
157157
+-------------------------------+
158158
| Padding |
159-
| (1 Octet) |
159+
| (2 Octets) |
160160
+-------------------------------+
161161
| Address |
162162
| (8 Octets, including padding) |

0 commit comments

Comments
 (0)