diff options
| author | Roman Kurakin <rik@FreeBSD.org> | 2005-07-09 16:14:05 +0000 |
|---|---|---|
| committer | Roman Kurakin <rik@FreeBSD.org> | 2005-07-09 16:14:05 +0000 |
| commit | 0541e456c99088d0cfcf7eae1564f6e59e1429d5 (patch) | |
| tree | 7236153fa972c4171adfc38df99840d1537c3096 /sys/dev/cp | |
| parent | ea78cad4bfb2e1afdae55df7dc71fc623a82c616 (diff) | |
Notes
Diffstat (limited to 'sys/dev/cp')
| -rw-r--r-- | sys/dev/cp/if_cp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cp/if_cp.c b/sys/dev/cp/if_cp.c index bd18f2561f52..a5692fdc5436 100644 --- a/sys/dev/cp/if_cp.c +++ b/sys/dev/cp/if_cp.c @@ -824,7 +824,7 @@ static void cp_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 (len >= BUFSZ) printf ("%s: too long packet: %d bytes: ", d->name, len); |
