diff options
| author | 2017-07-27 16:56:42 +0200 | |
|---|---|---|
| committer | 2017-07-31 20:41:57 +0200 | |
| commit | b7263e071aba736cea9e71cdf2e76dfa7aebd039 (patch) | |
| tree | 25e9dbc295a10dde326079a895c36dcccafc7204 /include/uapi/linux | |
| parent | netfilter: nf_tables: Allow table names of up to 255 chars (diff) | |
| download | linux-dev-b7263e071aba736cea9e71cdf2e76dfa7aebd039.tar.xz linux-dev-b7263e071aba736cea9e71cdf2e76dfa7aebd039.zip | |
netfilter: nf_tables: Allow chain name of up to 255 chars
Same conversion as for table names, use NFT_NAME_MAXLEN as upper
boundary as well.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/netfilter/nf_tables.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/netfilter/nf_tables.h b/include/uapi/linux/netfilter/nf_tables.h index 0b94e572ef16..d9c03a8608ee 100644 --- a/include/uapi/linux/netfilter/nf_tables.h +++ b/include/uapi/linux/netfilter/nf_tables.h @@ -3,7 +3,7 @@ #define NFT_NAME_MAXLEN 256 #define NFT_TABLE_MAXNAMELEN NFT_NAME_MAXLEN -#define NFT_CHAIN_MAXNAMELEN 32 +#define NFT_CHAIN_MAXNAMELEN NFT_NAME_MAXLEN #define NFT_SET_MAXNAMELEN 32 #define NFT_OBJ_MAXNAMELEN 32 #define NFT_USERDATA_MAXLEN 256 |
