git: 3f6a34cafe57 - main - pf: fix cmd id for PFNL_CMD_GET_ADDR
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 06 Nov 2024 13:32:34 UTC
The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=3f6a34cafe5707108a91b5f591888ea1379afb6b commit 3f6a34cafe5707108a91b5f591888ea1379afb6b Author: Kristof Provost <kp@FreeBSD.org> AuthorDate: 2024-10-18 14:20:13 +0000 Commit: Kristof Provost <kp@FreeBSD.org> CommitDate: 2024-11-06 11:02:31 +0000 pf: fix cmd id for PFNL_CMD_GET_ADDR Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/netpfil/pf/pf_nl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netpfil/pf/pf_nl.c b/sys/netpfil/pf/pf_nl.c index 1da9bead394b..7a54ee78c684 100644 --- a/sys/netpfil/pf/pf_nl.c +++ b/sys/netpfil/pf/pf_nl.c @@ -1613,7 +1613,7 @@ pf_handle_get_addr(struct nlmsghdr *hdr, struct nl_pstate *npt) return (ENOMEM); ghdr_new = nlmsg_reserve_object(nw, struct genlmsghdr); - ghdr_new->cmd = PFNL_CMD_GET_ADDRS; + ghdr_new->cmd = PFNL_CMD_GET_ADDR; ghdr_new->version = 0; ghdr_new->reserved = 0;