mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 05:58:20 +00:00
Remove deprecations tagged for v8.1
This commit is contained in:
parent
e4dab3dded
commit
d95affde4d
108 changed files with 113 additions and 2230 deletions
|
@ -663,14 +663,9 @@ F RET_CONST(zeek::val_mgr->False()->Ref())
|
|||
|
||||
({H}".")+{HTLD} {
|
||||
zeek::TableValPtr result;
|
||||
std::string msg = zeek::util::fmt("Remove in v8.1: DNS lookup of host literal '%s' is deprecated. "
|
||||
std::string msg = zeek::util::fmt("DNS lookup of host literal '%s' is not supported. "
|
||||
"Replace with blocking_lookup_hostname().", yytext);
|
||||
zeek::reporter->Deprecation(msg.c_str());
|
||||
if ( ! zeek::detail::parse_only )
|
||||
result = zeek::detail::dns_mgr->LookupHost(yytext);
|
||||
else
|
||||
result = zeek::detail::dns_mgr->empty_addr_set();
|
||||
RET_CONST(result.release());
|
||||
zeek::reporter->Error("%s", msg.c_str());
|
||||
}
|
||||
|
||||
\"([^\\\r\\\n\"]|{ESCSEQ})*\" {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue