mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 05:58:20 +00:00
Add a comment to explain the ICMPv6 error message types
This commit is contained in:
parent
99f59dc5c0
commit
d6fdc10242
1 changed files with 3 additions and 0 deletions
|
@ -181,6 +181,9 @@ void ICMP_Analyzer::NextICMP6(double t, const struct icmp* icmpp, int len, int c
|
||||||
case MLD_LISTENER_REDUCTION:
|
case MLD_LISTENER_REDUCTION:
|
||||||
#endif
|
#endif
|
||||||
default:
|
default:
|
||||||
|
// Error messages (i.e., ICMPv6 type < 128) all have
|
||||||
|
// the same structure for their context, and are
|
||||||
|
// handled by the same function.
|
||||||
if ( icmpp->icmp_type < 128 )
|
if ( icmpp->icmp_type < 128 )
|
||||||
Context6(t, icmpp, len, caplen, data, ip_hdr);
|
Context6(t, icmpp, len, caplen, data, ip_hdr);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue