mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +00:00
Deprecate names in BifConst, replace with zeek::BifConst
Some Val* types are also replaced with IntrusivePtr at the new location
This commit is contained in:
parent
eedeb07550
commit
0db5c920f2
39 changed files with 120 additions and 106 deletions
|
@ -111,7 +111,7 @@ void PcapSource::OpenLive()
|
|||
return;
|
||||
}
|
||||
|
||||
if ( pcap_set_snaplen(pd, BifConst::Pcap::snaplen) )
|
||||
if ( pcap_set_snaplen(pd, zeek::BifConst::Pcap::snaplen) )
|
||||
{
|
||||
PcapError("pcap_set_snaplen");
|
||||
return;
|
||||
|
@ -137,7 +137,7 @@ void PcapSource::OpenLive()
|
|||
return;
|
||||
}
|
||||
|
||||
if ( pcap_set_buffer_size(pd, BifConst::Pcap::bufsize * 1024 * 1024) )
|
||||
if ( pcap_set_buffer_size(pd, zeek::BifConst::Pcap::bufsize * 1024 * 1024) )
|
||||
{
|
||||
PcapError("pcap_set_buffer_size");
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue