include: json: add missing synproxy stmt print stub
PATCH 1/1 include: json: add missing synproxy stmt print stub
Fixes 1188a69604c3 ("src: introduce SYNPROXY matching")
Signed-off-by Fernando Fernandez Mancera <[email protected]>
--- include/json.h | 1 + 1 file changed, 1 insertion(+)
include/json.h +1 -0
@@ -180,6 +180,7 @@ STMT_PRINT_STUB(queue) STMT_PRINT_STUB(verdict) STMT_PRINT_STUB(connlimit) STMT_PRINT_STUB(tproxy) +STMT_PRINT_STUB(synproxy)#undef STMT_PRINT_STUB#undef EXPR_PRINT_STUB
Signature · 1 line
2.20.1
Pablo Neira Ayuso
maintainerHi Fernando,
Quoted 11 lines · Fernando Fernandez Mancera
Fixes 1188a69604c3 ("src: introduce SYNPROXY matching")Signed-off-by Fernando Fernandez Mancera <[email protected]>--- include/json.h | 1 + 1 file changed, 1 insertion(+)include/json.h +0
-0
include/json.h STMT_PRINT_STUB(queue) · line 183
Quoted 4 lines
include/json.h +1
-0@@ -180,6 +180,7 @@ STMT_PRINT_STUB(queue) STMT_PRINT_STUB(verdict) STMT_PRINT_STUB(connlimit) STMT_PRINT_STUB(tproxy) +STMT_PRINT_STUB(synproxy)
I'm sure you need this, but how does this missing line manifests as a problem?
Hi Pablo,
Quoted 9 lines · Pablo Neira Ayuso
Hi Fernando,
Quoted 6 lines · Fernando Fernandez Mancera
Fixes 1188a69604c3 ("src: introduce SYNPROXY matching")Signed-off-by Fernando Fernandez Mancera <[email protected]>--- include/json.h | 1 + 1 file changed, 1 insertion(+)
Quoted 13 lines
include/json.h STMT_PRINT_STUB(queue) · line 183
Quoted 9 lines
include/json.h +1
-0@@ -180,6 +180,7 @@ STMT_PRINT_STUB(queue) STMT_PRINT_STUB(verdict) STMT_PRINT_STUB(connlimit) STMT_PRINT_STUB(tproxy) +STMT_PRINT_STUB(synproxy)I'm sure you need this, but how does this missing line manifests as a problem?
When compiling nftables without json support I am getting the following error.
statement.c:930:11: error: ‘synproxy_stmt_json’ undeclared here (not in a function); did you mean ‘tproxy_stmt_json’?
.json = synproxy_stmt_json,
^~~~~~~~~~~~~~~~~~
tproxy_stmt_json