From c03424bce3fab4885056995a83c0c3a68ef0d235 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sat, 17 Aug 2013 12:41:49 +0200 Subject: log: convert group and qthreshold to use u16 Required since (netfilter: nft_log: group and qthreshold are 2^16) kernel change. Signed-off-by: Pablo Neira Ayuso --- include/statement.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/statement.h b/include/statement.h index 20b6f9a9..53702317 100644 --- a/include/statement.h +++ b/include/statement.h @@ -30,9 +30,9 @@ extern struct stmt *meta_stmt_alloc(const struct location *loc, struct log_stmt { const char *prefix; - unsigned int group; unsigned int snaplen; - unsigned int qthreshold; + uint16_t group; + uint16_t qthreshold; }; extern struct stmt *log_stmt_alloc(const struct location *loc); -- cgit v1.2.3