[Bug 1690] Set clone functions not exported.
bugzilla-daemon at netfilter.org
bugzilla-daemon at netfilter.org
Fri Aug 2 21:51:31 CEST 2024
https://bugzilla.netfilter.org/show_bug.cgi?id=1690
--- Comment #1 from Phil S <bugs at phlexo.com> ---
Here's a patch which fixes the issue. I tried to add it as an attachment but it
responds with a 403 Forbidden.
--- src/set.c
+++ src/set.c
@@ -352,6 +352,7 @@ uint64_t nftnl_set_get_u64(const struct nftnl_set *s,
uint16_t attr)
return val ? *val : 0;
}
+EXPORT_SYMBOL(nftnl_set_clone)
struct nftnl_set *nftnl_set_clone(const struct nftnl_set *set)
{
struct nftnl_set *newset;
--- src/set_elem.c
+++ src/set_elem.c
@@ -278,6 +278,7 @@ uint64_t nftnl_set_elem_get_u64(struct nftnl_set_elem *s,
uint16_t attr)
return val;
}
+EXPORT_SYMBOL(nftnl_set_elem_clone);
struct nftnl_set_elem *nftnl_set_elem_clone(struct nftnl_set_elem *elem)
{
struct nftnl_set_elem *newelem;
--
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20240802/cb54a5bc/attachment.html>
More information about the netfilter-buglog
mailing list