This is present in libnftnl/set.h, so this has to either be exported or removed from the header. Signed-off-by: chayleaf <chayleaf-git@xxxxxxxxxx> --- src/libnftnl.map | 1 + src/set.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/libnftnl.map b/src/libnftnl.map index 8fffff1..3f660de 100644 --- a/src/libnftnl.map +++ b/src/libnftnl.map @@ -129,6 +129,7 @@ global: nftnl_set_get_str; nftnl_set_get_u32; nftnl_set_get_u64; + nftnl_set_clone; nftnl_set_nlmsg_build_payload; nftnl_set_nlmsg_parse; nftnl_set_parse; diff --git a/src/set.c b/src/set.c index 07e332d..c5f9518 100644 --- a/src/set.c +++ b/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; -- 2.44.1