mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
regularize deprecation warning
This commit is contained in:
parent
d75d1715a9
commit
f17fe4101b
1 changed files with 2 additions and 2 deletions
|
@ -23,8 +23,8 @@ namespace zeek
|
||||||
ODesc::ODesc(DescType t, File* arg_f)
|
ODesc::ODesc(DescType t, File* arg_f)
|
||||||
{
|
{
|
||||||
if ( t == DESC_PORTABLE )
|
if ( t == DESC_PORTABLE )
|
||||||
zeek::reporter->Warning(
|
zeek::reporter->Warning("Remove in v5.1. Use of DESC_PORTABLE \"Describe\" format is "
|
||||||
"use of DESC_PORTABLE \"Describe\" format is deprecated with Zeek 5.0");
|
"deprecated and will be removed");
|
||||||
|
|
||||||
type = t;
|
type = t;
|
||||||
style = STANDARD_STYLE;
|
style = STANDARD_STYLE;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue