diff --git a/sys/i4b/driver/i4b_ispppsubr.c b/sys/i4b/driver/i4b_ispppsubr.c index 52f9e4e043f2..3f1cd7fc3c1d 100644 --- a/sys/i4b/driver/i4b_ispppsubr.c +++ b/sys/i4b/driver/i4b_ispppsubr.c @@ -569,9 +569,9 @@ isppp_input(struct ifnet *ifp, struct mbuf *m) case PPP_VJ_UCOMP: if (sp->state[IDX_IPCP] == STATE_OPENED) { u_char *iphdr; - int hlen, vjlen; + int hlen; - if ((vjlen = sl_uncompress_tcp_core(m->m_data, + if ((sl_uncompress_tcp_core(m->m_data, m->m_len, m->m_len, TYPE_UNCOMPRESSED_TCP, &sp->pp_comp, &iphdr, &hlen)) != 0) goto drop;