1
0
Fork 0
mirror of https://github.com/M66B/NetGuard.git synced 2025-01-01 12:54:07 +00:00

Make unknown protocol a warning

This commit is contained in:
M66B 2017-04-29 20:15:15 +02:00
parent 647e4f0bcd
commit 60def31053

View file

@ -269,7 +269,7 @@ void handle_ip(const struct arguments *args,
// TODO checksum
}
else if (protocol != IPPROTO_HOPOPTS && protocol != IPPROTO_IGMP && protocol != IPPROTO_ESP)
report_error(args, 1, "Unknown protocol %d", protocol);
log_android(ANDROID_LOG_WARN, "Unknown protocol %d", protocol);
flags[flen] = 0;