File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed
src/unix/notbsd/linux/other Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -686,18 +686,10 @@ pub const NFPROTO_INET: ::c_int = 1;
686
686
pub const NFPROTO_NETDEV : :: c_int = 5 ;
687
687
688
688
// linux/netfilter/nf_tables.h
689
- cfg_if ! {
690
- if #[ cfg( target_arch = "sparc64" ) ] {
691
- pub const NFT_TABLE_MAXNAMELEN : :: c_int = 32 ;
692
- pub const NFT_CHAIN_MAXNAMELEN : :: c_int = 32 ;
693
- pub const NFT_SET_MAXNAMELEN : :: c_int = 32 ;
694
- } else {
695
- pub const NFT_TABLE_MAXNAMELEN : :: c_int = 256 ;
696
- pub const NFT_CHAIN_MAXNAMELEN : :: c_int = 256 ;
697
- pub const NFT_SET_MAXNAMELEN : :: c_int = 256 ;
698
- pub const NFT_OBJ_MAXNAMELEN : :: c_int = 256 ;
699
- }
700
- }
689
+ pub const NFT_TABLE_MAXNAMELEN : :: c_int = 256 ;
690
+ pub const NFT_CHAIN_MAXNAMELEN : :: c_int = 256 ;
691
+ pub const NFT_SET_MAXNAMELEN : :: c_int = 256 ;
692
+ pub const NFT_OBJ_MAXNAMELEN : :: c_int = 256 ;
701
693
pub const NFT_USERDATA_MAXLEN : :: c_int = 256 ;
702
694
703
695
pub const NFT_REG_VERDICT : :: c_int = 0 ;
You can’t perform that action at this time.
0 commit comments