diff options
author | Eric Long <i@hack3r.moe> | 2024-10-17 23:33:17 +0800 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2024-10-17 17:49:53 +0200 |
commit | 570320ab9a0752c7749a6c9cc85b34a5e7ab91b5 (patch) | |
tree | 99d13ee4b23485d886a42fcf5edc158ccaa77144 /doc/libnftables-json.adoc | |
parent | ff0846371c0c1cca41fd61ef2c481248684b8aa9 (diff) |
libnftables-json: fix raw payload expression documentation
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>
Diffstat (limited to 'doc/libnftables-json.adoc')
-rw-r--r-- | doc/libnftables-json.adoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/libnftables-json.adoc b/doc/libnftables-json.adoc index a8a6165f..2f29ac04 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"*:: |