libnftables-json: fix raw payload expression documentation
PATCH 1/1 libnftables-json: fix raw payload expression documentation
Raw payload expression accesses payload data in bits, not bytes.
--- doc/libnftables-json.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
doc/libnftables-json.adoc +1 -1
@@ -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,
Signature · 1 line
Eric Long <[email protected]>
Phil Sutter
reviewerQuoted 3 lines · On Thu, Oct 17, 2024 at 11:33:17PM +0800, Eric Long via B4 Relay wrote:
From: Eric Long <[email protected]>
Raw payload expression accesses payload data in bits, not bytes.
Patch applied after adding your Signed-off-by and a Fixes: tag. Please keep in mind at least the former is required for submitted patches, and the latter not just a nuisance since tooling may depend on it for backporting.
Thanks, Phil