summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ct.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ct.c b/src/ct.c
index 07e7077b..515e3ebf 100644
--- a/src/ct.c
+++ b/src/ct.c
@@ -184,8 +184,8 @@ static const struct ct_template ct_templates[] = {
[NFT_CT_HELPER] = CT_TEMPLATE("helper", &string_type,
BYTEORDER_HOST_ENDIAN,
NF_CT_HELPER_NAME_LEN * BITS_PER_BYTE),
- [NFT_CT_L3PROTOCOL] = CT_TEMPLATE("l3proto", &invalid_type,
- BYTEORDER_INVALID,
+ [NFT_CT_L3PROTOCOL] = CT_TEMPLATE("l3proto", &nfproto_type,
+ BYTEORDER_HOST_ENDIAN,
BITS_PER_BYTE),
[NFT_CT_SRC] = CT_TEMPLATE("saddr", &invalid_type,
BYTEORDER_BIG_ENDIAN, 0),