diff options
-rw-r--r-- | sys/dev/ic/midway.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/midway.c b/sys/dev/ic/midway.c index e9e43456365..4da7aa37156 100644 --- a/sys/dev/ic/midway.c +++ b/sys/dev/ic/midway.c @@ -1,4 +1,4 @@ -/* $OpenBSD: midway.c,v 1.26 2000/04/27 00:04:25 chris Exp $ */ +/* $OpenBSD: midway.c,v 1.27 2000/10/09 22:39:24 itojun Exp $ */ /* (sync'd to midway.c 1.68) */ /* @@ -1572,7 +1572,7 @@ struct ifnet *ifp; * [including AAL5 PDU, if AAL5] */ - got = mlen - sizeof(struct atm_pseudohdr *); + got = mlen - sizeof(struct atm_pseudohdr); toadd = (aal == MID_TBD_AAL5) ? MID_PDU_SIZE : 0; /* PDU */ cellcnt = (got + toadd + (MID_ATMDATASZ - 1)) / MID_ATMDATASZ; need = cellcnt * MID_ATMDATASZ; |