was wrong magic constant. no functional change.

This commit is contained in:
is 2006-12-10 14:45:09 +00:00
parent d227658f6b
commit 9c9b34873f
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_tokensubr.c,v 1.40 2006/12/10 14:39:03 is Exp $ */ /* $NetBSD: if_tokensubr.c,v 1.41 2006/12/10 14:45:09 is Exp $ */
/* /*
* Copyright (c) 1982, 1989, 1993 * Copyright (c) 1982, 1989, 1993
@ -99,7 +99,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_tokensubr.c,v 1.40 2006/12/10 14:39:03 is Exp $"); __KERNEL_RCSID(0, "$NetBSD: if_tokensubr.c,v 1.41 2006/12/10 14:45:09 is Exp $");
#include "opt_inet.h" #include "opt_inet.h"
#include "opt_atalk.h" #include "opt_atalk.h"
@ -584,7 +584,7 @@ token_input(struct ifnet *ifp, struct mbuf *m)
case LLC_XID: case LLC_XID:
case LLC_XID_P: case LLC_XID_P:
if(m->m_len < ISO88025_ADDR_LEN) if(m->m_len < LLC_XID_BASIC_MINLEN)
goto dropanyway; goto dropanyway;
l->llc_window = 0; l->llc_window = 0;
l->llc_fid = 9; l->llc_fid = 9;