Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net disable the DEBUG bridge_calc_csum_flags() printf



details:   https://anonhg.NetBSD.org/src/rev/901380e45683
branches:  trunk
changeset: 745170:901380e45683
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sun Feb 23 21:50:21 2020 +0000

description:
disable the DEBUG bridge_calc_csum_flags() printf

diffstat:

 sys/net/if_bridge.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f8f6dc0b81e1 -r 901380e45683 sys/net/if_bridge.c
--- a/sys/net/if_bridge.c       Sun Feb 23 21:36:29 2020 +0000
+++ b/sys/net/if_bridge.c       Sun Feb 23 21:50:21 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_bridge.c,v 1.166 2020/01/29 04:18:34 thorpej Exp $  */
+/*     $NetBSD: if_bridge.c,v 1.167 2020/02/23 21:50:21 jdolecek Exp $ */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -80,7 +80,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_bridge.c,v 1.166 2020/01/29 04:18:34 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bridge.c,v 1.167 2020/02/23 21:50:21 jdolecek Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_bridge_ipf.h"
@@ -789,7 +789,7 @@
        }
        sc->sc_csum_flags_tx = flags;
        BRIDGE_UNLOCK(sc);
-#ifdef DEBUG
+#if 0
        printf("%s: 0x%x\n", __func__, flags);
 #endif
 }



Home | Main Index | Thread Index | Old Index