Module Name:    src
Committed By:   kre
Date:           Thu Jul 25 00:37:08 UTC 2024

Modified Files:
        src/sys/net: if_wg.c

Log Message:
There's a new WG_DEBUG_XXX ( XXX==PACKET ) to deal with now.  That needs
WG_DEBUG defined as well, if set.


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 src/sys/net/if_wg.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/net/if_wg.c
diff -u src/sys/net/if_wg.c:1.87 src/sys/net/if_wg.c:1.88
--- src/sys/net/if_wg.c:1.87	Thu Jul 25 00:29:24 2024
+++ src/sys/net/if_wg.c	Thu Jul 25 00:37:08 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_wg.c,v 1.87 2024/07/25 00:29:24 kre Exp $	*/
+/*	$NetBSD: if_wg.c,v 1.88 2024/07/25 00:37:08 kre Exp $	*/
 
 /*
  * Copyright (C) Ryota Ozaki <ozaki.ry...@gmail.com>
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_wg.c,v 1.87 2024/07/25 00:29:24 kre Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wg.c,v 1.88 2024/07/25 00:37:08 kre Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_altq_enabled.h"
@@ -197,7 +197,8 @@ __KERNEL_RCSID(0, "$NetBSD: if_wg.c,v 1.
 
 #ifndef WG_DEBUG
 # if defined(WG_DEBUG_LOG) || defined(WG_DEBUG_TRACE) ||		    \
-	defined(WG_DEBUG_DUMP) || defined(WG_DEBUG_PARAMS)
+	defined(WG_DEBUG_DUMP) || defined(WG_DEBUG_PARAMS) ||		    \
+	defined(WG_DEBUG_PACKET)
 #   define WG_DEBUG
 # endif
 #endif

Reply via email to