d9f08f29ae
* Thu Nov 07 2024 Phil Sutter <psutter@redhat.com> [1.1.1-1.el10] - monitor: Recognize flowtable add/del events (Phil Sutter) [RHEL-65346] - tests: py: Fix for storing payload into missing file (Phil Sutter) [RHEL-65346] - json: Support typeof in set and map types (Phil Sutter) [RHEL-65346] - json: collapse set element commands from parser (Phil Sutter) [RHEL-65346] - doc: extend description of fib expression (Phil Sutter) [RHEL-65346] - tests: monitor: fix up test case breakage (Phil Sutter) [RHEL-65346] - src: fix extended netlink error reporting with large set elements (Phil Sutter) [RHEL-65346] - rule: netlink attribute offset is uint32_t for struct nlerr_loc (Phil Sutter) [RHEL-65346] - mnl: update cmd_add_loc() to take struct nlmsghdr (Phil Sutter) [RHEL-65346] - mnl: rename to mnl_seqnum_alloc() to mnl_seqnum_inc() (Phil Sutter) [RHEL-65346] - src: collapse set element commands from parser (Phil Sutter) [RHEL-65346] - libnftables-json: fix raw payload expression documentation (Phil Sutter) [RHEL-65346] - tests: shell: fix spurious dump failure in vmap timeout test (Phil Sutter) [RHEL-65346] - Rebase onto version 1.1.1 (Phil Sutter) [RHEL-65346] Resolves: RHEL-65346
39 lines
1.4 KiB
Diff
39 lines
1.4 KiB
Diff
From 08d33851ff012bb14237127553be80dbb00fa07d Mon Sep 17 00:00:00 2001
|
|
From: Phil Sutter <psutter@redhat.com>
|
|
Date: Thu, 7 Nov 2024 18:38:45 +0100
|
|
Subject: [PATCH] libnftables-json: fix raw payload expression documentation
|
|
|
|
JIRA: https://issues.redhat.com/browse/RHEL-65346
|
|
Upstream Status: nftables commit 570320ab9a0752c7749a6c9cc85b34a5e7ab91b5
|
|
|
|
commit 570320ab9a0752c7749a6c9cc85b34a5e7ab91b5
|
|
Author: Eric Long <i@hack3r.moe>
|
|
Date: Thu Oct 17 23:33:17 2024 +0800
|
|
|
|
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>
|
|
|
|
Signed-off-by: Phil Sutter <psutter@redhat.com>
|
|
---
|
|
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 a8a6165..2f29ac0 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"*::
|