diff options
Diffstat (limited to 'sys/netinet/ip_ahhmacmd5.c')
-rw-r--r-- | sys/netinet/ip_ahhmacmd5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip_ahhmacmd5.c b/sys/netinet/ip_ahhmacmd5.c index c4ddea126a9..1ee56be908f 100644 --- a/sys/netinet/ip_ahhmacmd5.c +++ b/sys/netinet/ip_ahhmacmd5.c @@ -189,7 +189,7 @@ ahhmacmd5_input(struct mbuf *m, struct tdb *tdb) else ado = 0; - if (ah->ah_hl != xd->amx_alen + ado) + if (ah->ah_hl * sizeof(u_int32_t) != xd->amx_alen + ado) { #ifdef ENCDEBUG if (encdebug) |