Avoid unnecessary copy of l7 policy

This commit is contained in:
emanuele-f 2017-12-06 16:11:43 +01:00
parent c10dc8f1ac
commit b574ecd025
3 changed files with 9 additions and 48 deletions

View file

@ -2602,7 +2602,7 @@ static bool update_host_host_pool_l7policy(GenericHashEntry *node, void *user_da
h->updateHostPool(false /* Not inline with traffic processing */);
if(up->update_l7policy)
h->updateHostL7Policy();
h->resetBlockedTrafficStatus();
#ifdef HOST_POOLS_DEBUG
ntop->getTrace()->traceEvent(TRACE_NORMAL,