From 2400fe027022bac672c169fb50ef380a2a7f0dbb Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Thu, 7 Feb 2002 23:20:58 +0000 Subject: Quiet down an annoying message in altq_etherclassify. --- sys/net/if_ethersubr.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/net') diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c index d3d08096f39..417993e4dc3 100644 --- a/sys/net/if_ethersubr.c +++ b/sys/net/if_ethersubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ethersubr.c,v 1.60 2001/12/09 13:09:13 jason Exp $ */ +/* $OpenBSD: if_ethersubr.c,v 1.61 2002/02/07 23:20:57 art Exp $ */ /* $NetBSD: if_ethersubr.c,v 1.19 1996/05/07 02:40:30 thorpej Exp $ */ /* @@ -652,8 +652,10 @@ altq_etherclassify(struct ifaltq *ifq, struct mbuf *m, * now (but it shouldn't ever happen, really, anyhow). * XXX Should use m_pulldown(). */ +#ifdef DEBUG printf("altq_etherclassify: headers span multiple mbufs: " "%d < %d\n", m->m_len, (hlen + hdrsize)); +#endif goto bad; } -- cgit v1.2.3