]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
libnftables.map: export new nft_ctx_{get,set}_optimize API
authorSam James <sam@gentoo.org>
Thu, 24 Feb 2022 19:45:42 +0000 (19:45 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 24 Feb 2022 23:34:37 +0000 (00:34 +0100)
[ Remove incorrect symbol names were exported via .map file ]

Without this, we're not explicitly saying this is part of the
public API.

This new API was added in 1.0.2 and is used by e.g. the main
nft binary. Noticed when fixing the version-script option
(separate patch) which picked up this problem when .map
was missing symbols (related to when symbol visibility
options get set).

Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/libnftables.map

index a511dd789154ba78c8b883053488e21734bca874..a46a3ad53ff6e07312f4bf11b613ae0aa0c3b635 100644 (file)
@@ -30,6 +30,6 @@ LIBNFTABLES_2 {
 } LIBNFTABLES_1;
 
 LIBNFTABLES_3 {
-  nft_set_optimize;
-  nft_get_optimize;
+  nft_ctx_set_optimize;
+  nft_ctx_get_optimize;
 } LIBNFTABLES_2;