Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Nov 2024 13:32:34 GMT
From:      Kristof Provost <kp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 3f6a34cafe57 - main - pf: fix cmd id for PFNL_CMD_GET_ADDR
Message-ID:  <202411061332.4A6DWYGE053479@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411061332.4A6DWYGE053479>