"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/network_inspectors/binder/binding.cc" between
snort3-3.1.28.0.tar.gz and snort3-3.1.29.0.tar.gz

About: Snort 3 is a network intrusion prevention and detection system (IDS/IPS) combining the benefits of signature, protocol and anomaly-based inspection.

binding.cc  (snort3-3.1.28.0):binding.cc  (snort3-3.1.29.0)
skipping to change at line 574 skipping to change at line 574
return true; return true;
return when.tenants.count(flow.tenant) != 0; return when.tenants.count(flow.tenant) != 0;
} }
inline bool Binding::check_tenant(const Packet* p) const inline bool Binding::check_tenant(const Packet* p) const
{ {
if (!when.has_criteria(BindWhen::Criteria::BWC_TENANTS)) if (!when.has_criteria(BindWhen::Criteria::BWC_TENANTS))
return true; return true;
return when.tenants.count(p->pkth->address_space_id) != 0; return when.tenants.count(p->pkth->tenant_id) != 0;
} }
inline bool Binding::check_service(const Flow& flow) const inline bool Binding::check_service(const Flow& flow) const
{ {
if (!when.has_criteria(BindWhen::Criteria::BWC_SVC)) if (!when.has_criteria(BindWhen::Criteria::BWC_SVC))
return true; return true;
if (!flow.service) if (!flow.service)
return false; return false;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)