mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +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);
|
uint32_t port_masked = PortVal::Mask(port_num, port_type);
|
||||||
if ( ports.find(port_masked) == ports.end() )
|
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];
|
return ports[port_masked];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue