[PATCH libnftnl] trace: fix missing NFTNL_TRACE_JUMP_TARGET in nftnl_trace_get_str()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Patrick McHardy <kaber@xxxxxxxxx>
---
 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

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux