summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/parser_json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser_json.c b/src/parser_json.c
index 5c00c9b0..72e712f3 100644
--- a/src/parser_json.c
+++ b/src/parser_json.c
@@ -2811,7 +2811,7 @@ static struct cmd *json_parse_cmd_add_object(struct json_ctx *ctx,
enum cmd_obj cmd_obj)
{
const char *family, *tmp, *rate_unit = "packets", *burst_unit = "bytes";
- uint32_t l3proto = NFPROTO_IPV4;
+ uint32_t l3proto = NFPROTO_UNSPEC;
struct handle h = { 0 };
struct obj *obj;
int inv = 0;