[PATCH 5/5] batctl: genl_json: drop leftover network coding log level
Sven Eckelmann <[email protected]> Sun, 05 Jul 2026 17:53:39 +0200
| Newsgroups | org.open-mesh.lists.batman |
|---|---|
| Message-ID | <[email protected]> |
Support for the network coding feature was removed from batctl but missed
in the genl_json loglevel output.
Fixes: 882ab0d91468 ("batctl: remove support for network coding")
Signed-off-by: Sven Eckelmann <[email protected]>
---
genl_json.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/genl_json.c b/genl_json.c
index bb32cab..c3ef83a 100644
--- a/genl_json.c
+++ b/genl_json.c
@@ -219,8 +219,6 @@ static void nljson_print_loglevel(struct nlattr *attrs[], int idx)
val & BIT(3) ? "true" : "false");
printf("\"dat\": %s,",
val & BIT(4) ? "true" : "false");
- printf("\"nc\": %s,",
- val & BIT(5) ? "true" : "false");
printf("\"mcast\": %s,",
val & BIT(6) ? "true" : "false");
printf("\"tp\": %s,",
--
2.47.3