svn commit: r213210 - projects/sv/sys/netinet
Attilio Rao
attilio at FreeBSD.org
Mon Sep 27 17:30:57 UTC 2010
Author: attilio
Date: Mon Sep 27 17:30:56 2010
New Revision: 213210
URL: http://svn.freebsd.org/changeset/base/213210
Log:
These printings make so much noise and console spam to make traces
almost unuseful.
Trim out them.
Modified:
projects/sv/sys/netinet/netdump_client.c
Modified: projects/sv/sys/netinet/netdump_client.c
==============================================================================
--- projects/sv/sys/netinet/netdump_client.c Mon Sep 27 17:12:54 2010 (r213209)
+++ projects/sv/sys/netinet/netdump_client.c Mon Sep 27 17:30:56 2010 (r213210)
@@ -687,9 +687,6 @@ nd_handle_ip(struct mbuf **mb)
int rcv_ackno;
/* IP processing */
-
- NETDDEBUGV("nd_handle_ip: Processing IP packet...\n");
-
m = *mb;
if (m->m_pkthdr.len < sizeof(struct ip)) {
NETDDEBUG("nd_handle_ip: dropping packet too small for IP "
@@ -814,8 +811,6 @@ nd_handle_ip(struct mbuf **mb)
}
udp = mtod(m, struct udpiphdr *);
- NETDDEBUG("nd_handle_ip: Processing packet...");
-
if (ntohs(udp->ui_u.uh_dport) != NETDUMP_ACKPORT) {
NETDDEBUG("not on the netdump port.\n");
return;
@@ -1004,9 +999,6 @@ netdump_pkt_in(struct ifnet *ifp, struct
u_short etype;
/* Ethernet processing */
-
- NETDDEBUGV_IF(ifp, "Processing packet...\n");
-
if ((m->m_flags & M_PKTHDR) == 0) {
NETDDEBUG_IF(ifp, "discard frame w/o packet header\n");
goto done;
More information about the svn-src-projects
mailing list