summaryrefslogtreecommitdiffstats
path: root/src/parser_json.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2019-05-09 13:35:38 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2019-05-09 17:19:50 +0200
commit993e4282a9981a4bb03b9a8952587724b08d6a50 (patch)
treea726fc029c88f5eab6bd99b54df4ece87b9a595a /src/parser_json.c
parent501d8be41d4e4910e874a1131f7de1521e0252d4 (diff)
parser_json: Fix igmp support
Parser didn't know about that protocol, also testsuite bits were missing. Fixes: bad27ca386276 ("src: add igmp support") Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/parser_json.c')
-rw-r--r--src/parser_json.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parser_json.c b/src/parser_json.c
index b83c94d8..e042d776 100644
--- a/src/parser_json.c
+++ b/src/parser_json.c
@@ -492,6 +492,7 @@ static const struct proto_desc *proto_lookup_byname(const char *name)
&proto_arp,
&proto_ip,
&proto_icmp,
+ &proto_igmp,
&proto_ip6,
&proto_icmp6,
&proto_ah,