diff options
author | gnzlbg <gonzalobg88@gmail.com> | 2019-05-15 13:03:00 +0200 |
---|---|---|
committer | gnzlbg <gonzalobg88@gmail.com> | 2019-05-16 09:15:12 +0200 |
commit | 5d5ceeaf64c7b2ca84db0b9275d04af04ee0b198 (patch) | |
tree | 8f55c1b647987e7ad565ef45f208f386d1bd6cad | |
parent | be36f6859bc1b210a409d775e508e9cb6011b33a (diff) | |
download | rust-libc-5d5ceeaf64c7b2ca84db0b9275d04af04ee0b198.tar.gz |
Correct value of some NFT_ constants on ARM
-rw-r--r-- | src/unix/notbsd/linux/other/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unix/notbsd/linux/other/mod.rs b/src/unix/notbsd/linux/other/mod.rs index 8a643768de..6db8d9c382 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; |