[PATCH nftables] libnftables-json: fix raw payload expression documentation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Eric Long <i@xxxxxxxxxx>

Raw payload expression accesses payload data in bits, not bytes.

---
 doc/libnftables-json.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/libnftables-json.adoc b/doc/libnftables-json.adoc
index a8a6165fde59d419f1ec7a1fa904e1491fe15284..2f29ac0436280719e50016ee92a6b78605894831 100644
--- a/doc/libnftables-json.adoc
+++ b/doc/libnftables-json.adoc
@@ -1182,7 +1182,7 @@ ____
 
 Construct a payload expression, i.e. a reference to a certain part of packet
 data. The first form creates a raw payload expression to point at a random
-number (*len*) of bytes at a certain offset (*offset*) from a given reference
+number (*len*) of bits at a certain offset (*offset*) from a given reference
 point (*base*). The following *base* values are accepted:
 
 *"ll"*::

---
base-commit: ff0846371c0c1cca41fd61ef2c481248684b8aa9
change-id: 20241017-libnftables-json-doc-fix-e2245a24cedc

Best regards,
-- 
Eric Long <i@xxxxxxxxxx>






[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux