Skip to content

Commit 6db4afa

Browse files
committed
Correct value of some NFT_ constants
1 parent 5bdb28f commit 6db4afa

File tree

1 file changed

+4
-4
lines changed
  • src/unix/notbsd/linux/mips

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -706,10 +706,10 @@ pub const GENL_UNS_ADMIN_PERM: ::c_int = 0x10;
706706
pub const GENL_ID_VFS_DQUOT: ::c_int = ::NLMSG_MIN_TYPE + 1;
707707
pub const GENL_ID_PMCRAID: ::c_int = ::NLMSG_MIN_TYPE + 2;
708708

709-
pub const NFT_TABLE_MAXNAMELEN: ::c_int = 32;
710-
pub const NFT_CHAIN_MAXNAMELEN: ::c_int = 32;
711-
pub const NFT_SET_MAXNAMELEN: ::c_int = 32;
712-
pub const NFT_OBJ_MAXNAMELEN: ::c_int = 32;
709+
pub const NFT_TABLE_MAXNAMELEN: ::c_int = 256;
710+
pub const NFT_CHAIN_MAXNAMELEN: ::c_int = 256;
711+
pub const NFT_SET_MAXNAMELEN: ::c_int = 256;
712+
pub const NFT_OBJ_MAXNAMELEN: ::c_int = 256;
713713
pub const NFT_USERDATA_MAXLEN: ::c_int = 256;
714714

715715
pub const NFT_REG_VERDICT: ::c_int = 0;

0 commit comments

Comments
 (0)