mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Remove Connection::AppendAddl
This commit is contained in:
parent
1d4bd2c70a
commit
6bb00f9e01
2 changed files with 0 additions and 15 deletions
|
@ -258,15 +258,6 @@ analyzer::Analyzer* Connection::FindAnalyzer(const zeek::Tag& tag) {
|
|||
|
||||
analyzer::Analyzer* Connection::FindAnalyzer(const char* name) { return adapter->FindChild(name); }
|
||||
|
||||
void Connection::AppendAddl(const char* str) {
|
||||
const auto& cv = GetVal();
|
||||
|
||||
const char* old = cv->GetFieldAs<StringVal>(6)->CheckString();
|
||||
const char* format = *old ? "%s %s" : "%s%s";
|
||||
|
||||
cv->Assign(6, util::fmt(format, old, str));
|
||||
}
|
||||
|
||||
void Connection::Match(detail::Rule::PatternType type, const u_char* data, int len, bool is_orig, bool bol, bool eol,
|
||||
bool clear_state) {
|
||||
if ( primary_PIA )
|
||||
|
|
|
@ -145,12 +145,6 @@ public:
|
|||
*/
|
||||
const RecordValPtr& GetVal() override;
|
||||
|
||||
/**
|
||||
* Append additional entries to the history field in the connection record.
|
||||
*/
|
||||
[[deprecated("Remove in v7.1 - Appears unused and named rough. Use CheckHistory() or AddHistory() instead.")]] void
|
||||
AppendAddl(const char* str);
|
||||
|
||||
void Match(detail::Rule::PatternType type, const u_char* data, int len, bool is_orig, bool bol, bool eol,
|
||||
bool clear_state);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue