From 04ca9a6ba3ca369053e9b5951f2f85bf8fe98e72 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Wed, 5 Sep 2018 11:16:42 +0200 Subject: src: rt: add support to check if route will perform ipsec transformation Signed-off-by: Florian Westphal Acked-by: Pablo Neira Ayuso --- src/rt.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/rt.c') diff --git a/src/rt.c b/src/rt.c index caa4947d..b63284fb 100644 --- a/src/rt.c +++ b/src/rt.c @@ -79,6 +79,11 @@ const struct rt_template rt_templates[] = { 2 * BITS_PER_BYTE, BYTEORDER_HOST_ENDIAN, false), + [NFT_RT_XFRM] = RT_TEMPLATE("ipsec", + &boolean_type, + BITS_PER_BYTE, + BYTEORDER_HOST_ENDIAN, + false), }; static void rt_expr_print(const struct expr *expr, struct output_ctx *octx) -- cgit v1.2.3