]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
include: json: add missing synproxy stmt print stub
authorFernando Fernandez Mancera <ffmancera@riseup.net>
Thu, 18 Jul 2019 09:41:14 +0000 (11:41 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 18 Jul 2019 10:34:36 +0000 (12:34 +0200)
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

Fixes: 1188a69604c3 ("src: introduce SYNPROXY matching")
Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/json.h

index ce57c9f7f631f78f9b8b28f2f31e751e88910125..7f2df7c8220f7e7d6f0bb4c9d57409d5e9b6915b 100644 (file)
@@ -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