Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Apr 2024 04:02:03 GMT
From:      Zhenlei Huang <zlei@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 800bd7da4c20 - stable/14 - debugnet: Fix logging of frame length
Message-ID:  <202404150402.43F423AK050555@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by zlei:

URL: https://cgit.FreeBSD.org/src/commit/?id=800bd7da4c20ff0ad7b24879c03b1add4b583da7

commit 800bd7da4c20ff0ad7b24879c03b1add4b583da7
Author:     Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2024-04-08 16:47:06 +0000
Commit:     Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2024-04-15 04:00:50 +0000

    debugnet: Fix logging of frame length
    
    MFC after:      1 week
    
    (cherry picked from commit 6fe4d8395bc5ec51a5ec68b5f1176b4710676b7c)
---
 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;
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404150402.43F423AK050555>