mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 21:48:21 +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
|
@ -903,15 +903,3 @@ constexpr int CONTENTS_RESP = 2;
|
|||
constexpr int CONTENTS_BOTH = 3;
|
||||
|
||||
} // namespace zeek::analyzer
|
||||
|
||||
[[deprecated("Remove in v8.1. Use version in zeek::analyzer namespace.")]] constexpr int CONTENTS_NONE =
|
||||
zeek::analyzer::CONTENTS_NONE;
|
||||
|
||||
[[deprecated("Remove in v8.1. Use version in zeek::analyzer namespace.")]] constexpr int CONTENTS_ORIG =
|
||||
zeek::analyzer::CONTENTS_ORIG;
|
||||
|
||||
[[deprecated("Remove in v8.1. Use version in zeek::analyzer namespace.")]] constexpr int CONTENTS_RESP =
|
||||
zeek::analyzer::CONTENTS_RESP;
|
||||
|
||||
[[deprecated("Remove in v8.1. Use version in zeek::analyzer namespace.")]] constexpr int CONTENTS_BOTH =
|
||||
zeek::analyzer::CONTENTS_BOTH;
|
||||
|
|
|
@ -1352,6 +1352,8 @@ bool DNS_Interpreter::ParseRR_BINDS(detail::DNS_MsgInfo* msg, const u_char*& dat
|
|||
msg->BuildBINDS_Val(&binds));
|
||||
}
|
||||
|
||||
delete completeflag;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -1912,9 +1914,8 @@ RecordValPtr DNS_MsgInfo::BuildBINDS_Val(BINDS_DATA* binds) {
|
|||
r->Assign(2, binds->algorithm);
|
||||
r->Assign(3, binds->key_id);
|
||||
r->Assign(4, binds->removal_flag);
|
||||
r->Assign(5, binds->complete_flag); // Remove in v8.1: Move field 7 here. Drop String* usage.
|
||||
r->Assign(5, binds->complete_flag->Len() > 0 ? binds->complete_flag->Bytes()[0] : 0);
|
||||
r->Assign(6, is_query);
|
||||
r->Assign(7, binds->complete_flag->Len() > 0 ? binds->complete_flag->Bytes()[0] : 0);
|
||||
|
||||
return r;
|
||||
}
|
||||
|
|
|
@ -122,9 +122,3 @@ protected:
|
|||
};
|
||||
|
||||
} // namespace zeek::analyzer::tcp
|
||||
|
||||
// These were previously #defined, so they have to be outside of the namespace.
|
||||
[[deprecated("Remove in v8.1, use the version in the zeek:::analyzer::tcp namespace")]] constexpr int CR_as_EOL =
|
||||
zeek::analyzer::tcp::CR_as_EOL;
|
||||
[[deprecated("Remove in v8.1, use the version in the zeek:::analyzer::tcp namespace")]] constexpr int LF_as_EOL =
|
||||
zeek::analyzer::tcp::LF_as_EOL;
|
||||
|
|
|
@ -260,41 +260,3 @@ enum EndianTypes : uint8_t {
|
|||
|
||||
} // namespace analyzer::tcp
|
||||
} // namespace zeek
|
||||
|
||||
[[deprecated(
|
||||
"Remove in v8.1. Use version in zeek::analyzer::tcp::TCP_Endpoint namespace.")]] constexpr int HIST_SYN_PKT =
|
||||
zeek::analyzer::tcp::TCP_Endpoint::HIST_SYN_PKT;
|
||||
|
||||
[[deprecated(
|
||||
"Remove in v8.1. Use version in zeek::analyzer::tcp::TCP_Endpoint namespace.")]] constexpr int HIST_FIN_PKT =
|
||||
zeek::analyzer::tcp::TCP_Endpoint::HIST_FIN_PKT;
|
||||
|
||||
[[deprecated(
|
||||
"Remove in v8.1. Use version in zeek::analyzer::tcp::TCP_Endpoint namespace.")]] constexpr int HIST_RST_PKT =
|
||||
zeek::analyzer::tcp::TCP_Endpoint::HIST_RST_PKT;
|
||||
|
||||
[[deprecated(
|
||||
"Remove in v8.1. Use version in zeek::analyzer::tcp::TCP_Endpoint namespace.")]] constexpr int HIST_FIN_RST_PKT =
|
||||
zeek::analyzer::tcp::TCP_Endpoint::HIST_FIN_RST_PKT;
|
||||
|
||||
[[deprecated(
|
||||
"Remove in v8.1. Use version in zeek::analyzer::tcp::TCP_Endpoint namespace.")]] constexpr int HIST_DATA_PKT =
|
||||
zeek::analyzer::tcp::TCP_Endpoint::HIST_DATA_PKT;
|
||||
|
||||
[[deprecated(
|
||||
"Remove in v8.1. Use version in zeek::analyzer::tcp::TCP_Endpoint namespace.")]] constexpr int HIST_ACK_PKT =
|
||||
zeek::analyzer::tcp::TCP_Endpoint::HIST_ACK_PKT;
|
||||
|
||||
[[deprecated(
|
||||
"Remove in v8.1. Use version in zeek::analyzer::tcp::TCP_Endpoint namespace.")]] constexpr int HIST_MULTI_FLAG_PKT =
|
||||
zeek::analyzer::tcp::TCP_Endpoint::HIST_MULTI_FLAG_PKT;
|
||||
|
||||
[[deprecated(
|
||||
"Remove in v8.1. Use version in zeek::analyzer::tcp::TCP_Endpoint namespace.")]] constexpr int HIST_CORRUPT_PKT =
|
||||
zeek::analyzer::tcp::TCP_Endpoint::HIST_CORRUPT_PKT;
|
||||
|
||||
[[deprecated("Remove in v8.1. Use version in zeek::analyzer::tcp::TCP_Endpoint namespace.")]] constexpr int HIST_RXMIT =
|
||||
zeek::analyzer::tcp::TCP_Endpoint::HIST_RXMIT;
|
||||
|
||||
[[deprecated("Remove in v8.1. Use version in zeek::analyzer::tcp::TCP_Endpoint namespace.")]] constexpr int HIST_WIN0 =
|
||||
zeek::analyzer::tcp::TCP_Endpoint::HIST_WIN0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue