Skip to content

Commit c184029

Browse files
committed
Fix the hardware address in LINKTYPE_NFLOG.html as well.
Based on additional comments by John Thacker in pull request #48. [skip ci]
1 parent b6d1d42 commit c184029

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

htmlsrc/linktypes/LINKTYPE_NFLOG.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,12 +115,17 @@ <h3 class="subtitle">Description</h3>
115115
| (2 Octets) |
116116
+-------------------------------+
117117
| Address |
118-
| (8 Octets, including padding) |
118+
| (8 Octets) |
119119
+-------------------------------+
120120
</pre>
121121
<p>
122122
All 32-bit integral values, and all multi-octet integral values in
123-
structures listed above, are in big-endian byte order.
123+
structures listed above, are in big-endian byte order. In the hardware
124+
address structure the <code>Address</code> field contains the first 8
125+
octets of a hardware address if the address length is greater than 8,
126+
otherwise the complete hardware address followed by any trailing padding
127+
if required.
128+
</p>
124129
</div>
125130
</div>
126131
<!-- End of LINKTYPE_NFLOG section -->

linktypes/LINKTYPE_NFLOG.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,12 +159,17 @@ <h3 class="subtitle">Description</h3>
159159
| (2 Octets) |
160160
+-------------------------------+
161161
| Address |
162-
| (8 Octets, including padding) |
162+
| (8 Octets) |
163163
+-------------------------------+
164164
</pre>
165165
<p>
166166
All 32-bit integral values, and all multi-octet integral values in
167-
structures listed above, are in big-endian byte order.
167+
structures listed above, are in big-endian byte order. In the hardware
168+
address structure the <code>Address</code> field contains the first 8
169+
octets of a hardware address if the address length is greater than 8,
170+
otherwise the complete hardware address followed by any trailing padding
171+
if required.
172+
</p>
168173
</div>
169174
</div>
170175
<!-- End of LINKTYPE_NFLOG section -->

0 commit comments

Comments
 (0)