diff options
| author | Kristof Provost <kp@FreeBSD.org> | 2024-10-18 14:20:13 +0000 |
|---|---|---|
| committer | Kristof Provost <kp@FreeBSD.org> | 2024-11-06 11:02:31 +0000 |
| commit | 3f6a34cafe5707108a91b5f591888ea1379afb6b (patch) | |
| tree | b67be57f6872884fff15621a9935ce641eff6ca3 | |
| parent | 580340dbdaaf372867e9ed3dd257430982753e5e (diff) | |
pf: fix cmd id for PFNL_CMD_GET_ADDR
Sponsored by: Rubicon Communications, LLC ("Netgate")
| -rw-r--r-- | sys/netpfil/pf/pf_nl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
