git: 6fe4d8395bc5 - main - debugnet: Fix logging of frame length
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 08 Apr 2024 16:48:59 UTC
The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=6fe4d8395bc5ec51a5ec68b5f1176b4710676b7c commit 6fe4d8395bc5ec51a5ec68b5f1176b4710676b7c Author: Zhenlei Huang <zlei@FreeBSD.org> AuthorDate: 2024-04-08 16:47:06 +0000 Commit: Zhenlei Huang <zlei@FreeBSD.org> CommitDate: 2024-04-08 16:47:10 +0000 debugnet: Fix logging of frame length MFC after: 1 week --- sys/net/debugnet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/debugnet.c b/sys/net/debugnet.c index c54c1a3904ec..c6f57ec84618 100644 --- a/sys/net/debugnet.c +++ b/sys/net/debugnet.c @@ -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; }