mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
debugnet: Fix logging of frame length
MFC after: 1 week (cherry picked from commit 6fe4d8395bc5ec51a5ec68b5f1176b4710676b7c)
This commit is contained in:
parent
4d65728d55
commit
800bd7da4c
1 changed files with 1 additions and 1 deletions
|
|
@ -566,7 +566,7 @@ debugnet_input_one(struct ifnet *ifp, struct mbuf *m)
|
|||
}
|
||||
if (m->m_len < ETHER_HDR_LEN) {
|
||||
DNETDEBUG_IF(ifp,
|
||||
"discard frame without leading eth header (len %u pktlen %u)\n",
|
||||
"discard frame without leading eth header (len %d pktlen %d)\n",
|
||||
m->m_len, m->m_pkthdr.len);
|
||||
goto done;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue