summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-02-07 23:20:58 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-02-07 23:20:58 +0000
commit2400fe027022bac672c169fb50ef380a2a7f0dbb (patch)
tree09833e5bc912d946110143f8c5c65b411ea23176 /sys/net
parent298e8208c597094e6412e0dbbb4f70c6b06eeabe (diff)
Quiet down an annoying message in altq_etherclassify.
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_ethersubr.c4
1 files changed, 3 insertions, 1 deletions
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;
}