diff options
Diffstat (limited to 'sys/dev/ctau/if_ct.c')
-rw-r--r-- | sys/dev/ctau/if_ct.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ctau/if_ct.c b/sys/dev/ctau/if_ct.c index f026a9fbbc0d..f231820816e0 100644 --- a/sys/dev/ctau/if_ct.c +++ b/sys/dev/ctau/if_ct.c @@ -1033,7 +1033,7 @@ static void ct_send (drv_t *d) if (d->ifp->if_bpf) BPF_MTAP (d->ifp, m); #endif - len = m->m_pkthdr.len; + len = m_length (m, NULL); if (! m->m_next) ct_send_packet (d->chan, (u_char*)mtod (m, caddr_t), len, 0); |