mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 08:08:19 +00:00
Deprecate internal_func(), replace with zeek::lookup_func()
This commit is contained in:
parent
a83941d64d
commit
26f6fe01c8
5 changed files with 34 additions and 8 deletions
|
@ -16,10 +16,10 @@
|
|||
|
||||
Discarder::Discarder()
|
||||
{
|
||||
check_ip = internal_func("discarder_check_ip");
|
||||
check_tcp = internal_func("discarder_check_tcp");
|
||||
check_udp = internal_func("discarder_check_udp");
|
||||
check_icmp = internal_func("discarder_check_icmp");
|
||||
check_ip = zeek::lookup_func("discarder_check_ip");
|
||||
check_tcp = zeek::lookup_func("discarder_check_tcp");
|
||||
check_udp = zeek::lookup_func("discarder_check_udp");
|
||||
check_icmp = zeek::lookup_func("discarder_check_icmp");
|
||||
|
||||
discarder_maxlen = static_cast<int>(opt_internal_int("discarder_maxlen"));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue