Bump NFT_*_MAXNAMELEN to 256 for PPC

This commit is contained in:
Mateusz Mikuła 2019-03-03 17:50:59 +01:00 committed by Mateusz Mikuła
parent 481a521178
commit 96eb1b234f

View File

@ -670,8 +670,7 @@ pub const NFPROTO_NETDEV: ::c_int = 5;
// linux/netfilter/nf_tables.h
cfg_if!{
if #[cfg(any(target_arch = "arm", target_arch = "powerpc",
target_arch = "powerpc64", target_arch = "aarch64"))] {
if #[cfg(any(target_arch = "arm", target_arch = "aarch64"))] {
pub const NFT_TABLE_MAXNAMELEN: ::c_int = 32;
pub const NFT_CHAIN_MAXNAMELEN: ::c_int = 32;
pub const NFT_SET_MAXNAMELEN: ::c_int = 32;