mirror of
https://github.com/nftables-rs/nftables-rs.git
synced 2026-10-26 00:01:56 +00:00
stmt: counter values as usize
This commit is contained in:
+2
-2
@@ -118,10 +118,10 @@ pub struct Match {
|
||||
pub struct Counter {
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
/// Packets counted.
|
||||
pub packets: Option<u32>,
|
||||
pub packets: Option<usize>,
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
/// Bytes counted.
|
||||
pub bytes: Option<u32>,
|
||||
pub bytes: Option<usize>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize)]
|
||||
|
||||
Reference in New Issue
Block a user