Fix for missing statistics increment

This commit is contained in:
Mark Riddoch
2015-02-09 13:19:51 +00:00
parent 25e39f35c5
commit e3c8979ee1

View File

@ -1263,6 +1263,7 @@ int action;
blr_slave_rotate(slave, ptr);
}
slave->stats.n_bytes += gwbuf_length(pkt);
slave->stats.n_events++;
slave->dcb->func.write(slave->dcb, pkt);
if (hdr->event_type != ROTATE_EVENT)
{