On 01/07/2017 04:46 AM, Amos Jeffries wrote: > This patch removes ip/Qos.cci file moving its content to ip/QosConfig.cc. > > Also, move the stub file to src/tests/stub_libip.cc and update to use > tests/STUB.h interface.
> +bool > +Ip::Qos::Config::isHitTosActive() const > +{ > + return (tosLocalHit || tosSiblingHit || tosParentHit || tosMiss || > preserveMissTos); > +} > + > +bool > +Ip::Qos::Config::isHitNfmarkActive() const > +{ > + return (markLocalHit || markSiblingHit || markParentHit || markMiss || > preserveMissMark); > +} If possible, please inline the above methods because, AFAICT, they are quick test methods with no external dependencies. > +++ src/ip/QosConfig.cc 2017-01-07 08:02:59 +0000 > @@ -7,7 +7,6 @@ > */ > > #include "squid.h" > - > #include "acl/Gadgets.h" > #include "cache_cf.h" An out-of-scope change? Please commit when you are comfortable with the code. Thank you, Alex. _______________________________________________ squid-dev mailing list squid-dev@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-dev