sbappend() -> sbappendrecord(); fixes SNAP encapsulation on NATM sockets.

From Matthias Drochner <drochner@zelux6.zel.kfa-juelich.de>.
This commit is contained in:
thorpej 1996-08-27 21:45:21 +00:00
parent 576f04f8b1
commit db75d73b4c
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: natm.c,v 1.1 1996/07/04 03:20:11 chuck Exp $ */
/* $NetBSD: natm.c,v 1.2 1996/08/27 21:45:21 thorpej Exp $ */
/*
*
@ -397,7 +397,7 @@ m->m_pkthdr.rcvif = NULL; /* null it out to be safe */
natm_sookcnt++;
natm_sookbytes += m->m_pkthdr.len;
#endif
sbappend(&so->so_rcv, m);
sbappendrecord(&so->so_rcv, m);
sorwakeup(so);
} else {
#ifdef NATM_STAT