mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 09:08:20 +00:00
Integrate review feedback
* Add deprecation for MIME_Entity::ContentType(), use GetContentType() * Add deprecation for MIME_Entity::ContentSubType(), use GetContentSubType() * Add deprecation for MIME_Message::BuildHeaderVal(), use ToHeaderVal() * Add deprecation for MIME_Message::BuildHeaderTable(), use ToHeaderTable() * Add deprecation for mime::new_string_val(), use mime::to_stringval() * Add deprecation for ARP_Analyzer::ConstructAddrVal(), use ToAddrVal() * Add deprecation for ARP_Analyzer::EthAddrToStr(), use ToEthAddrStr() * Change the Func::Call() replacement to be named Func::Invoke()
This commit is contained in:
parent
82ce64ca70
commit
9c133b9b10
22 changed files with 137 additions and 95 deletions
|
@ -43,7 +43,7 @@ bool Discarder::NextPacket(const IP_Hdr* ip, int len, int caplen)
|
|||
|
||||
try
|
||||
{
|
||||
discard_packet = check_ip->operator()(&args)->AsBool();
|
||||
discard_packet = check_ip->Invoke(&args)->AsBool();
|
||||
}
|
||||
|
||||
catch ( InterpreterException& e )
|
||||
|
@ -98,7 +98,7 @@ bool Discarder::NextPacket(const IP_Hdr* ip, int len, int caplen)
|
|||
|
||||
try
|
||||
{
|
||||
discard_packet = check_tcp->operator()(&args)->AsBool();
|
||||
discard_packet = check_tcp->Invoke(&args)->AsBool();
|
||||
}
|
||||
|
||||
catch ( InterpreterException& e )
|
||||
|
@ -122,7 +122,7 @@ bool Discarder::NextPacket(const IP_Hdr* ip, int len, int caplen)
|
|||
|
||||
try
|
||||
{
|
||||
discard_packet = check_udp->operator()(&args)->AsBool();
|
||||
discard_packet = check_udp->Invoke(&args)->AsBool();
|
||||
}
|
||||
|
||||
catch ( InterpreterException& e )
|
||||
|
@ -142,7 +142,7 @@ bool Discarder::NextPacket(const IP_Hdr* ip, int len, int caplen)
|
|||
|
||||
try
|
||||
{
|
||||
discard_packet = check_icmp->operator()(&args)->AsBool();
|
||||
discard_packet = check_icmp->Invoke(&args)->AsBool();
|
||||
}
|
||||
|
||||
catch ( InterpreterException& e )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue