mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 12:38:20 +00:00
Added get_current_packet_header bif.
This commit is contained in:
parent
2fc8ef232a
commit
c0bf1b3c67
6 changed files with 92 additions and 74 deletions
|
@ -393,6 +393,7 @@ RecordVal* IP_Hdr::BuildPktHdrVal(RecordVal* pkt_hdr, int sindex) const
|
|||
}
|
||||
|
||||
case IPPROTO_ICMP:
|
||||
case IPPROTO_ICMPV6:
|
||||
{
|
||||
const struct icmp* icmpp = (const struct icmp *) data;
|
||||
RecordVal* icmp_hdr = new RecordVal(icmp_hdr_type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue