mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 01:28:20 +00:00
Clang formatting
This commit is contained in:
parent
425a9585b4
commit
642d44009a
2 changed files with 3 additions and 2 deletions
|
@ -3974,7 +3974,8 @@ const PortValPtr& ValManager::Port(uint32_t port_num, TransportProto port_type)
|
|||
|
||||
uint32_t port_masked = PortVal::Mask(port_num, port_type);
|
||||
if ( ports.find(port_masked) == ports.end() )
|
||||
ports[port_masked] = IntrusivePtr{AdoptRef{}, new PortVal(PortVal::Mask(port_num, port_type))};
|
||||
ports[port_masked] = IntrusivePtr{AdoptRef{},
|
||||
new PortVal(PortVal::Mask(port_num, port_type))};
|
||||
|
||||
return ports[port_masked];
|
||||
}
|
||||
|
|
|
@ -63,7 +63,7 @@ bool IPAnalyzer::AnalyzePacket(size_t len, const uint8_t* data, Packet* packet)
|
|||
}
|
||||
|
||||
ip_hdr = std::make_shared<IP_Hdr>((const struct ip6_hdr*)data, false,
|
||||
static_cast<int>(len));
|
||||
static_cast<int>(len));
|
||||
packet->l3_proto = L3_IPV6;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue