mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 10:38:20 +00:00
make DoDescribe protected for a tidier interface
mark use of DESC_PORTABLE as deprecated
This commit is contained in:
parent
cbb18207dc
commit
d75d1715a9
2 changed files with 22 additions and 10 deletions
|
@ -22,6 +22,10 @@ namespace zeek
|
|||
|
||||
ODesc::ODesc(DescType t, File* arg_f)
|
||||
{
|
||||
if ( t == DESC_PORTABLE )
|
||||
zeek::reporter->Warning(
|
||||
"use of DESC_PORTABLE \"Describe\" format is deprecated with Zeek 5.0");
|
||||
|
||||
type = t;
|
||||
style = STANDARD_STYLE;
|
||||
f = arg_f;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue