]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
libnftables-json: fix raw payload expression documentation
authorEric Long <i@hack3r.moe>
Thu, 17 Oct 2024 15:33:17 +0000 (23:33 +0800)
committerPhil Sutter <phil@nwl.cc>
Thu, 17 Oct 2024 15:49:53 +0000 (17:49 +0200)
Raw payload expression accesses payload data in bits, not bytes.

Fixes: 872f373dc50f7 ("doc: Add JSON schema documentation")
Signed-off-by: Eric Long <i@hack3r.moe>
Signed-off-by: Phil Sutter <phil@nwl.cc>
doc/libnftables-json.adoc

index a8a6165fde59d419f1ec7a1fa904e1491fe15284..2f29ac0436280719e50016ee92a6b78605894831 100644 (file)
@@ -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"*::