Skip to content

Instantly share code, notes, and snippets.

@sethhall
Created August 20, 2013 15:43
Show Gist options
  • Save sethhall/6283197 to your computer and use it in GitHub Desktop.
Save sethhall/6283197 to your computer and use it in GitHub Desktop.
Remove an internal error call
diff --git a/src/analyzer/protocol/icmp/ICMP.cc b/src/analyzer/protocol/icmp/ICM
index 732727d..43e961e 100644
--- a/src/analyzer/protocol/icmp/ICMP.cc
+++ b/src/analyzer/protocol/icmp/ICMP.cc
@@ -100,8 +100,7 @@ void ICMP_Analyzer::DeliverPacket(int len, const u_char* dat
else if ( ip->NextProto() == IPPROTO_ICMPV6 )
NextICMP6(current_timestamp, icmpp, len, caplen, data, ip);
else
- reporter->InternalError("unexpected next protocol in ICMP::Deliv
-
+ Weird("unexpected_next_icmp_protocol");
if ( caplen >= len )
ForwardPacket(len, data, is_orig, seq, ip, caplen);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment