aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ctau
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2014-09-10 09:57:32 +0000
committerRobert Watson <rwatson@FreeBSD.org>2014-09-10 09:57:32 +0000
commit620dbb4ed12553d321e7a960129b6191ee75f698 (patch)
tree9737243e31cc5720a8d26c0e5d45824e5475aa02 /sys/dev/ctau
parenteb4e5b0ad50942e24674194ebdd623f6929303c5 (diff)
Notes
Diffstat (limited to 'sys/dev/ctau')
-rw-r--r--sys/dev/ctau/if_ct.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/sys/dev/ctau/if_ct.c b/sys/dev/ctau/if_ct.c
index 958faa54de84..43ea97491949 100644
--- a/sys/dev/ctau/if_ct.c
+++ b/sys/dev/ctau/if_ct.c
@@ -185,22 +185,6 @@ static struct cdevsw ct_cdevsw = {
};
/*
- * Print the mbuf chain, for debug purposes only.
- */
-static void printmbuf (struct mbuf *m)
-{
- printf ("mbuf:");
- for (; m; m=m->m_next) {
- if (m->m_flags & M_PKTHDR)
- printf (" HDR %d:", m->m_pkthdr.len);
- if (m->m_flags & M_EXT)
- printf (" EXT:");
- printf (" %d", m->m_len);
- }
- printf ("\n");
-}
-
-/*
* Make an mbuf from data.
*/
static struct mbuf *makembuf (void *buf, u_int len)
@@ -1127,7 +1111,7 @@ static void ct_receive (ct_chan_t *c, char *data, int len)
return;
}
if (c->debug > 1)
- printmbuf (m);
+ m_print (m, 0);
#ifdef NETGRAPH
m->m_pkthdr.rcvif = 0;
NG_SEND_DATA_ONLY (error, d->hook, m);