summaryrefslogtreecommitdiffstats
path: root/src/ct.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ct.c')
-rw-r--r--src/ct.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ct.c b/src/ct.c
index 43dd9878..ea97d6ad 100644
--- a/src/ct.c
+++ b/src/ct.c
@@ -108,12 +108,12 @@ static const struct ct_template ct_templates[] = {
4 * BITS_PER_BYTE),
[NFT_CT_HELPER] = CT_TEMPLATE("helper", &string_type,
BYTEORDER_INVALID, 0),
- [NFT_CT_L3PROTO] = CT_TEMPLATE("l3proto", &invalid_type,
+ [NFT_CT_L3PROTOCOL] = CT_TEMPLATE("l3proto", &invalid_type,
BYTEORDER_INVALID,
BITS_PER_BYTE),
- [NFT_CT_SADDR] = CT_TEMPLATE("saddr", &invalid_type,
+ [NFT_CT_SRC] = CT_TEMPLATE("saddr", &invalid_type,
BYTEORDER_BIG_ENDIAN, 0),
- [NFT_CT_DADDR] = CT_TEMPLATE("daddr", &invalid_type,
+ [NFT_CT_DST] = CT_TEMPLATE("daddr", &invalid_type,
BYTEORDER_BIG_ENDIAN, 0),
[NFT_CT_PROTOCOL] = CT_TEMPLATE("protocol", &inet_protocol_type,
BYTEORDER_BIG_ENDIAN,