git: cd1618ad949a - stable/13 - routing: fix debug headers added in 6fa8ed43ee0c #2.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 Jan 2023 21:25:25 UTC
The branch stable/13 has been updated by melifaro: URL: https://cgit.FreeBSD.org/src/commit/?id=cd1618ad949aa38eead79d628cc89f4308c96b38 commit cd1618ad949aa38eead79d628cc89f4308c96b38 Author: Alexander V. Chernikov <melifaro@FreeBSD.org> AuthorDate: 2022-06-26 07:26:53 +0000 Commit: Alexander V. Chernikov <melifaro@FreeBSD.org> CommitDate: 2023-01-13 21:24:10 +0000 routing: fix debug headers added in 6fa8ed43ee0c #2. Move debug declaration out of COMPAT_FREEBSD32 in rtsock.c MFC after: 2 weeks (cherry picked from commit 33a0803f000fc52a50465a65d3e8b64168557ecf) --- sys/net/rtsock.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c index 256c4a96af73..85f1c2472742 100644 --- a/sys/net/rtsock.c +++ b/sys/net/rtsock.c @@ -79,13 +79,12 @@ #define DEBUG_MOD_NAME rtsock #define DEBUG_MAX_LEVEL LOG_DEBUG #include <net/route/route_debug.h> +_DECLARE_DEBUG(LOG_INFO); #ifdef COMPAT_FREEBSD32 #include <sys/mount.h> #include <compat/freebsd32/freebsd32.h> -_DECLARE_DEBUG(LOG_INFO); - struct if_msghdr32 { uint16_t ifm_msglen; uint8_t ifm_version;