netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH libnftnl 1/2] expr: fib: missing #include <assert.h>
@ 2022-05-18 21:54 Pablo Neira Ayuso
  2022-05-18 21:54 ` [PATCH libnftnl 2/2] set_elem: missing export symbol Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Pablo Neira Ayuso @ 2022-05-18 21:54 UTC (permalink / raw)
  To: netfilter-devel

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
---
 src/expr/fib.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/expr/fib.c b/src/expr/fib.c
index 59b335a72546..7e6c0dc4372d 100644
--- a/src/expr/fib.c
+++ b/src/expr/fib.c
@@ -15,6 +15,7 @@
 #include <arpa/inet.h>
 #include <errno.h>
 #include <net/if.h>
+#include <assert.h>
 #include <linux/netfilter/nf_tables.h>
 
 #include "internal.h"
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH libnftnl 2/2] set_elem: missing export symbol
  2022-05-18 21:54 [PATCH libnftnl 1/2] expr: fib: missing #include <assert.h> Pablo Neira Ayuso
@ 2022-05-18 21:54 ` Pablo Neira Ayuso
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2022-05-18 21:54 UTC (permalink / raw)
  To: netfilter-devel

nftnl_set_elem_nlmsg_build_payload() is already available through .map
file and headers, add missing EXPORT_SYMBOL.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
---
 src/set_elem.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/set_elem.c b/src/set_elem.c
index 12eadce1f8e0..95009acb17dc 100644
--- a/src/set_elem.c
+++ b/src/set_elem.c
@@ -300,6 +300,7 @@ err:
 	return NULL;
 }
 
+EXPORT_SYMBOL(nftnl_set_elem_nlmsg_build_payload);
 void nftnl_set_elem_nlmsg_build_payload(struct nlmsghdr *nlh,
 				      struct nftnl_set_elem *e)
 {
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-18 22:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-18 21:54 [PATCH libnftnl 1/2] expr: fib: missing #include <assert.h> Pablo Neira Ayuso
2022-05-18 21:54 ` [PATCH libnftnl 2/2] set_elem: missing export symbol Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).