Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Feb 2025 08:02:07 GMT
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 95ab7b3223c0 - main - ipfw: add missing initializer for 'limit' table value
Message-ID:  <202502100802.51A8279c059171@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by ae:

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

commit 95ab7b3223c08cf48ccf764815523ea995a7ea0e
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-10 07:58:23 +0000

    ipfw: add missing initializer for 'limit' table value
    
    PR:             284691
    MFC after:      1 week
---
 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 1d4e1db2dcbb..431707ae5d74 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(mark, IPFW_VTYPE_MARK);
 	_MCPY(dscp, IPFW_VTYPE_DSCP);
 	_MCPY(nh4, IPFW_VTYPE_NH4);



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