Be consistent with the rest of the code.

This commit is contained in:
Pawel Jakub Dawidek 2006-04-09 19:00:23 +00:00
parent b0f4fba749
commit 2320ec8b73
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=157612

View File

@ -329,7 +329,7 @@ esp_input(struct mbuf *m, struct secasvar *sav, int skip, int protoff)
}
/* Update the counters */
espstat.esps_ibytes += m->m_pkthdr.len - skip - hlen - alen;
espstat.esps_ibytes += m->m_pkthdr.len - (skip + hlen + alen);
/* Find out if we've already done crypto */
for (mtag = m_tag_find(m, PACKET_TAG_IPSEC_IN_CRYPTO_DONE, NULL);