Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Apr 2024 04:03:39 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: 41e4389a3d0d - stable/13 - debugnet: Fix logging of frame length
Message-ID:  <202404150403.43F43dnc051870@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/src/commit/?id=41e4389a3d0df7c31fbe2c80e2f00219c1b5bd6b

commit 41e4389a3d0df7c31fbe2c80e2f00219c1b5bd6b
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:03:06 +0000

    debugnet: Fix logging of frame length
    
    MFC after:      1 week
    
    (cherry picked from commit 6fe4d8395bc5ec51a5ec68b5f1176b4710676b7c)
    (cherry picked from commit 800bd7da4c20ff0ad7b24879c03b1add4b583da7)
---
 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 30cfb5ab141a..6336b9127cc1 100644
--- a/sys/net/debugnet.c
+++ b/sys/net/debugnet.c
@@ -534,7 +534,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?202404150403.43F43dnc051870>