Skip to content

Commit 96eb1b2

Browse files
committed
Bump NFT_*_MAXNAMELEN to 256 for PPC
1 parent 481a521 commit 96eb1b2

File tree

1 file changed

+1
-2
lines changed
  • src/unix/notbsd/linux/other

1 file changed

+1
-2
lines changed

src/unix/notbsd/linux/other/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -670,8 +670,7 @@ pub const NFPROTO_NETDEV: ::c_int = 5;
670670

671671
// linux/netfilter/nf_tables.h
672672
cfg_if!{
673-
if #[cfg(any(target_arch = "arm", target_arch = "powerpc",
674-
target_arch = "powerpc64", target_arch = "aarch64"))] {
673+
if #[cfg(any(target_arch = "arm", target_arch = "aarch64"))] {
675674
pub const NFT_TABLE_MAXNAMELEN: ::c_int = 32;
676675
pub const NFT_CHAIN_MAXNAMELEN: ::c_int = 32;
677676
pub const NFT_SET_MAXNAMELEN: ::c_int = 32;

0 commit comments

Comments
 (0)