Skip to content
Snippets Groups Projects
Commit 4a8fa6f1 authored by gnzlbg's avatar gnzlbg
Browse files

Correct value of some NFT_ constants on AArch64

parent bdb18160
No related branches found
No related tags found
No related merge requests found
......@@ -689,12 +689,7 @@ pub const NFPROTO_NETDEV: ::c_int = 5;
// linux/netfilter/nf_tables.h
cfg_if!{
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;
pub const NFT_OBJ_MAXNAMELEN: ::c_int = 32;
} else if #[cfg(target_arch = "sparc64")] {
if #[cfg(target_arch = "sparc64")] {
pub const NFT_TABLE_MAXNAMELEN: ::c_int = 32;
pub const NFT_CHAIN_MAXNAMELEN: ::c_int = 32;
pub const NFT_SET_MAXNAMELEN: ::c_int = 32;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment