git: 830352ccca23 - main - netlink: fix genetlink CTRL_ATTR_MCAST_GRP_MAX define.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 31 Oct 2022 15:04:12 UTC
The branch main has been updated by melifaro: URL: https://cgit.FreeBSD.org/src/commit/?id=830352ccca2386dde60e0590ad4e3a22532867a9 commit 830352ccca2386dde60e0590ad4e3a22532867a9 Author: Alexander V. Chernikov <melifaro@FreeBSD.org> AuthorDate: 2022-10-31 15:03:27 +0000 Commit: Alexander V. Chernikov <melifaro@FreeBSD.org> CommitDate: 2022-10-31 15:03:27 +0000 netlink: fix genetlink CTRL_ATTR_MCAST_GRP_MAX define. Reported by: harti --- sys/netlink/netlink_generic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netlink/netlink_generic.h b/sys/netlink/netlink_generic.h index f88b6b5f5429..bd7a59f11059 100644 --- a/sys/netlink/netlink_generic.h +++ b/sys/netlink/netlink_generic.h @@ -107,7 +107,7 @@ enum { CTRL_ATTR_MCAST_GRP_ID, /* u32, dynamically-assigned group id */ __CTRL_ATTR_MCAST_GRP_MAX, }; -#define CTRL_ATTR_MCAST_GRP_MAX (CTRL_ATTR_MCAST_GRP_MAX - 1) +#define CTRL_ATTR_MCAST_GRP_MAX (__CTRL_ATTR_MCAST_GRP_MAX - 1) #endif