From 5d5ceeaf64c7b2ca84db0b9275d04af04ee0b198 Mon Sep 17 00:00:00 2001 From: gnzlbg <gonzalobg88@gmail.com> Date: Wed, 15 May 2019 13:03:00 +0200 Subject: [PATCH] Correct value of some NFT_ constants on ARM --- src/unix/notbsd/linux/other/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unix/notbsd/linux/other/mod.rs b/src/unix/notbsd/linux/other/mod.rs index 8a643768..6db8d9c3 100644 --- a/src/unix/notbsd/linux/other/mod.rs +++ b/src/unix/notbsd/linux/other/mod.rs @@ -689,7 +689,7 @@ pub const NFPROTO_NETDEV: ::c_int = 5; // linux/netfilter/nf_tables.h cfg_if!{ - if #[cfg(any(target_arch = "arm", target_arch = "aarch64"))] { + if #[cfg(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; -- GitLab