git: ff2588f2ac0a - stable/13 - ipfw: add missing initializer for 'limit' table value

From: Andrey V. Elsukov <ae_at_FreeBSD.org>
Date: Mon, 17 Feb 2025 07:41:30 UTC
The branch stable/13 has been updated by ae:

URL: https://cgit.FreeBSD.org/src/commit/?id=ff2588f2ac0a7a4d15496e2654f22d4d300037bf

commit ff2588f2ac0a7a4d15496e2654f22d4d300037bf
Author:     Andrey V. Elsukov <ae@FreeBSD.org>
AuthorDate: 2025-02-10 07:58:23 +0000
Commit:     Andrey V. Elsukov <ae@FreeBSD.org>
CommitDate: 2025-02-17 07:40:29 +0000

    ipfw: add missing initializer for 'limit' table value
    
    PR:             284691
    
    (cherry picked from commit 95ab7b3223c08cf48ccf764815523ea995a7ea0e)
---
 sys/netpfil/ipfw/ip_fw_table_value.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/netpfil/ipfw/ip_fw_table_value.c b/sys/netpfil/ipfw/ip_fw_table_value.c
index 0004713b4a70..bd86d9e22209 100644
--- a/sys/netpfil/ipfw/ip_fw_table_value.c
+++ b/sys/netpfil/ipfw/ip_fw_table_value.c
@@ -112,6 +112,7 @@ mask_table_value(struct table_value *src, struct table_value *dst,
 	_MCPY(netgraph, IPFW_VTYPE_NETGRAPH);
 	_MCPY(fib, IPFW_VTYPE_FIB);
 	_MCPY(nat, IPFW_VTYPE_NAT);
+	_MCPY(limit, IPFW_VTYPE_LIMIT);
 	_MCPY(dscp, IPFW_VTYPE_DSCP);
 	_MCPY(nh4, IPFW_VTYPE_NH4);
 	_MCPY(nh6, IPFW_VTYPE_NH6);