From 22fb039e8384448b94091407ef08c2403f75cfb5 Mon Sep 17 00:00:00 2001 From: Jon Siwek Date: Wed, 13 Jun 2012 16:59:15 -0500 Subject: [PATCH] Improve an error message in ICMP analyzer. --- src/ICMP.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ICMP.cc b/src/ICMP.cc index b06c6440e1..b8ddb8a292 100644 --- a/src/ICMP.cc +++ b/src/ICMP.cc @@ -64,7 +64,8 @@ void ICMP_Analyzer::DeliverPacket(int len, const u_char* data, break; default: - reporter->InternalError("unexpected IP proto in ICMP analyzer"); + reporter->InternalError("unexpected IP proto in ICMP analyzer: %d", + ip->NextProto()); break; }