Skip to content

Commit 454c8ee

Browse files
committed
Fix NFT_MSG_MAX
1 parent 2abd73a commit 454c8ee

File tree

1 file changed

+1
-3
lines changed
  • src/unix/notbsd/linux/other

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -748,11 +748,9 @@ cfg_if! {
748748
pub const NFT_MSG_GETOBJ: ::c_int = 19;
749749
pub const NFT_MSG_DELOBJ: ::c_int = 20;
750750
pub const NFT_MSG_GETOBJ_RESET: ::c_int = 21;
751-
pub const NFT_MSG_MAX: ::c_int = 25;
752-
} else {
753-
pub const NFT_MSG_MAX: ::c_int = 18;
754751
}
755752
}
753+
pub const NFT_MSG_MAX: ::c_int = 25;
756754

757755
pub const NFT_SET_ANONYMOUS: ::c_int = 0x1;
758756
pub const NFT_SET_CONSTANT: ::c_int = 0x2;

0 commit comments

Comments
 (0)