From 477441c0ce8bde58424fa346daae94f60ca34dd8 Mon Sep 17 00:00:00 2001 From: hm Date: Mon, 15 Jan 2001 14:58:46 +0000 Subject: it seems that a commit to i4b/drivers/i4b_ispppsubr.c on 2000-01-12 has broken the handling of uncompressed VJ packets. The attached diff should hopefully fix that. Submitted by: Thomas Moestl Reviewed by: Sergio de Souza Prallon --- sys/i4b/driver/i4b_ispppsubr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/i4b/driver/i4b_ispppsubr.c b/sys/i4b/driver/i4b_ispppsubr.c index e307573..52f9e4e 100644 --- a/sys/i4b/driver/i4b_ispppsubr.c +++ b/sys/i4b/driver/i4b_ispppsubr.c @@ -572,8 +572,8 @@ isppp_input(struct ifnet *ifp, struct mbuf *m) int hlen, vjlen; if ((vjlen = sl_uncompress_tcp_core(m->m_data, - m->m_len, m->m_len, TYPE_COMPRESSED_TCP, - &sp->pp_comp, &iphdr, &hlen)) <= 0) + m->m_len, m->m_len, TYPE_UNCOMPRESSED_TCP, + &sp->pp_comp, &iphdr, &hlen)) != 0) goto drop; schednetisr (NETISR_IP); -- cgit v1.1