diff options
Diffstat (limited to 'src/ct.c')
-rw-r--r-- | src/ct.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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, |