diff options
author | gnzlbg <gonzalobg88@gmail.com> | 2019-05-15 12:37:14 +0200 |
---|---|---|
committer | gnzlbg <gonzalobg88@gmail.com> | 2019-05-16 09:15:12 +0200 |
commit | 6db4afabfd48f9f11c626983425a472254f42d6e (patch) | |
tree | bdff81d5fb962fd99e231b0bdedb2b032931125b | |
parent | 5bdb28fd6a8ec32384e636a63b1b5130f03e4bd5 (diff) | |
download | rust-libc-6db4afabfd48f9f11c626983425a472254f42d6e.tar.gz |
Correct value of some NFT_ constants
-rw-r--r-- | src/unix/notbsd/linux/mips/mod.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/unix/notbsd/linux/mips/mod.rs b/src/unix/notbsd/linux/mips/mod.rs index b7001866eb..9ee6d75871 100644 --- a/src/unix/notbsd/linux/mips/mod.rs +++ b/src/unix/notbsd/linux/mips/mod.rs @@ -706,10 +706,10 @@ pub const GENL_UNS_ADMIN_PERM: ::c_int = 0x10; pub const GENL_ID_VFS_DQUOT: ::c_int = ::NLMSG_MIN_TYPE + 1; pub const GENL_ID_PMCRAID: ::c_int = ::NLMSG_MIN_TYPE + 2; -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; +pub const NFT_TABLE_MAXNAMELEN: ::c_int = 256; +pub const NFT_CHAIN_MAXNAMELEN: ::c_int = 256; +pub const NFT_SET_MAXNAMELEN: ::c_int = 256; +pub const NFT_OBJ_MAXNAMELEN: ::c_int = 256; pub const NFT_USERDATA_MAXLEN: ::c_int = 256; pub const NFT_REG_VERDICT: ::c_int = 0; |