From 4e92a7aca81a1cf07867351839280af774e8eb27 Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 15 Feb 2016 12:02:51 +0100 Subject: [PATCH] Native report unknown unknown protocols only Fixes #324 --- app/src/main/jni/netguard/ip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/jni/netguard/ip.c b/app/src/main/jni/netguard/ip.c index 6a2d3852..1e7571a0 100644 --- a/app/src/main/jni/netguard/ip.c +++ b/app/src/main/jni/netguard/ip.c @@ -260,7 +260,7 @@ void handle_ip(const struct arguments *args, // TODO checksum } - else if (protocol) + else if (protocol != IPPROTO_HOPOPTS && protocol != IPPROTO_IGMP && protocol != IPPROTO_ESP) report_error(args, 1, "Unknown protocol %d", protocol); flags[flen] = 0;