regularize deprecation warning

This commit is contained in:
Vern Paxson 2022-05-05 17:02:14 -07:00
parent d75d1715a9
commit f17fe4101b

View file

@ -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;