From 4a684c2ee4cdff2c5c6bfa06d93b58cb4e868bf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Neira=20Ayuso?= Date: Thu, 27 Jun 2013 21:56:18 +0200 Subject: src: support JSON format in chain, rule and expressions While at it, order possible switch cases of _snprintf. Signed-off-by: Alvaro Neira Ayuso Signed-off-by: Pablo Neira Ayuso --- src/internal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/internal.h') diff --git a/src/internal.h b/src/internal.h index 23a3e59..55505be 100644 --- a/src/internal.h +++ b/src/internal.h @@ -22,6 +22,7 @@ #define NFT_RULE_XML_VERSION 0 #define NFT_TABLE_JSON_VERSION 0 #define NFT_CHAIN_JSON_VERSION 0 +#define NFT_RULE_JSON_VERSION 0 const char *nft_family2str(uint32_t family); int nft_str2family(const char *family); -- cgit v1.2.3