* [PATCH libnftnl] trace: fix missing NFTNL_TRACE_JUMP_TARGET in nftnl_trace_get_str()
@ 2016-03-10 12:16 Patrick McHardy
0 siblings, 0 replies; only message in thread
From: Patrick McHardy @ 2016-03-10 12:16 UTC (permalink / raw)
To: pablo; +Cc: fw, netfilter-devel
Signed-off-by: Patrick McHardy <kaber@trash.net>
---
src/trace.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/trace.c b/src/trace.c
index 9655f0a..849003b 100644
--- a/src/trace.c
+++ b/src/trace.c
@@ -208,6 +208,7 @@ const char *nftnl_trace_get_str(const struct nftnl_trace *trace, uint16_t type)
switch (type) {
case NFTNL_TRACE_CHAIN: return trace->chain;
case NFTNL_TRACE_TABLE: return trace->table;
+ case NFTNL_TRACE_JUMP_TARGET: return trace->jump_target;
default: break;
}
return NULL;
--
2.5.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-03-10 12:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-10 12:16 [PATCH libnftnl] trace: fix missing NFTNL_TRACE_JUMP_TARGET in nftnl_trace_get_str() Patrick McHardy
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).