1
0
Fork 0
mirror of https://github.com/M66B/NetGuard.git synced 2025-02-25 07:32:46 +00:00

Native report unknown unknown protocols only

Fixes #324
This commit is contained in:
M66B 2016-02-15 12:02:51 +01:00
parent 2f68dc8fff
commit 4e92a7aca8

View file

@ -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;