Skip to content

Commit 5d5ceea

Browse files
committed
Correct value of some NFT_ constants on ARM
1 parent be36f68 commit 5d5ceea

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ pub const NFPROTO_NETDEV: ::c_int = 5;
689689

690690
// linux/netfilter/nf_tables.h
691691
cfg_if!{
692-
if #[cfg(any(target_arch = "arm", target_arch = "aarch64"))] {
692+
if #[cfg(target_arch = "aarch64")] {
693693
pub const NFT_TABLE_MAXNAMELEN: ::c_int = 32;
694694
pub const NFT_CHAIN_MAXNAMELEN: ::c_int = 32;
695695
pub const NFT_SET_MAXNAMELEN: ::c_int = 32;

0 commit comments

Comments
 (0)