diff options
author | Florian Westphal <fw@strlen.de> | 2018-09-05 11:16:42 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2018-09-21 12:03:47 +0200 |
commit | 04ca9a6ba3ca369053e9b5951f2f85bf8fe98e72 (patch) | |
tree | e8d68a8efef66f446d90de1183785ad4b0d0522a /src/rt.c | |
parent | b0d3f3d95c51f506787719021f3dcba5da687dcb (diff) |
src: rt: add support to check if route will perform ipsec transformation
Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/rt.c')
-rw-r--r-- | src/rt.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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) |