fix: add missing ntohs() for llc mode, as noted by several people including

Dong Lin, Zdenek Salvet, and Matthias Drochner(i think).
This commit is contained in:
chuck 1996-10-18 19:26:54 +00:00
parent 334d950e16
commit 41a87a7ae0
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_atmsubr.c,v 1.7 1996/10/13 02:10:59 christos Exp $ */
/* $NetBSD: if_atmsubr.c,v 1.8 1996/10/18 19:26:54 chuck Exp $ */
/*
*
@ -258,7 +258,7 @@ atm_input(ifp, ah, m, rxhand)
m_freem(m);
return;
}
etype = ATM_LLC_TYPE(alc);
etype = ntohs(ATM_LLC_TYPE(alc));
m_adj(m, sizeof(*alc));
}