diff options
-rw-r--r-- | include/linux/netfilter/nf_tables.h | 1 | ||||
-rw-r--r-- | src/expr/rt.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/netfilter/nf_tables.h b/include/linux/netfilter/nf_tables.h index 4766f50..2e174d8 100644 --- a/include/linux/netfilter/nf_tables.h +++ b/include/linux/netfilter/nf_tables.h @@ -815,6 +815,7 @@ enum nft_rt_keys { NFT_RT_CLASSID, NFT_RT_NEXTHOP4, NFT_RT_NEXTHOP6, + NFT_RT_TCPMSS, }; /** diff --git a/src/expr/rt.c b/src/expr/rt.c index 5088e66..62c01a0 100644 --- a/src/expr/rt.c +++ b/src/expr/rt.c @@ -20,7 +20,7 @@ #include <libnftnl/rule.h> #ifndef NFT_RT_MAX -#define NFT_RT_MAX (NFT_RT_NEXTHOP6 + 1) +#define NFT_RT_MAX (NFT_RT_TCPMSS + 1) #endif struct nftnl_expr_rt { @@ -120,6 +120,7 @@ static const char *rt_key2str_array[NFT_RT_MAX] = { [NFT_RT_CLASSID] = "classid", [NFT_RT_NEXTHOP4] = "nexthop4", [NFT_RT_NEXTHOP6] = "nexthop6", + [NFT_RT_TCPMSS] = "tcpmss", }; static const char *rt_key2str(uint8_t key) |