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
1 changed files with 1 additions and 1 deletions

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;