mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00
clang-format: Set penalty for breaking after assignment operator
This commit is contained in:
parent
4423574d26
commit
9af6b2f48d
54 changed files with 255 additions and 247 deletions
|
@ -160,8 +160,8 @@ zeek::Connection* IPBasedAnalyzer::NewConn(const ConnTuple* id, const detail::Co
|
|||
if ( ! WantConnection(src_h, dst_h, pkt->ip_hdr->Payload(), flip) )
|
||||
return nullptr;
|
||||
|
||||
Connection* conn =
|
||||
new Connection(key, run_state::processing_start_time, id, pkt->ip_hdr->FlowLabel(), pkt);
|
||||
Connection* conn = new Connection(key, run_state::processing_start_time, id,
|
||||
pkt->ip_hdr->FlowLabel(), pkt);
|
||||
conn->SetTransport(transport);
|
||||
|
||||
if ( flip )
|
||||
|
@ -293,7 +293,7 @@ void IPBasedAnalyzer::SetIgnoreChecksumsNets(TableValPtr t)
|
|||
TableValPtr IPBasedAnalyzer::GetIgnoreChecksumsNets()
|
||||
{
|
||||
if ( ! IPBasedAnalyzer::ignore_checksums_nets_table )
|
||||
IPBasedAnalyzer::ignore_checksums_nets_table =
|
||||
zeek::id::find_val<TableVal>("ignore_checksums_nets");
|
||||
IPBasedAnalyzer::ignore_checksums_nets_table = zeek::id::find_val<TableVal>(
|
||||
"ignore_checksums_nets");
|
||||
return IPBasedAnalyzer::ignore_checksums_nets_table;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue