mirror of
https://codeberg.org/YGGverse/psocks.git
synced 2026-03-31 16:35:28 +00:00
rename api member
This commit is contained in:
parent
a630b20cf8
commit
31b701e295
1 changed files with 2 additions and 2 deletions
|
|
@ -36,7 +36,7 @@ pub struct Snap {
|
|||
rules: u64,
|
||||
request: Sum,
|
||||
blocked: Sum,
|
||||
up_time: Up,
|
||||
up: Up,
|
||||
}
|
||||
|
||||
impl Snap {
|
||||
|
|
@ -60,7 +60,7 @@ impl Snap {
|
|||
total: blocked,
|
||||
percent: blocked_percent,
|
||||
},
|
||||
up_time: Up::from_startup_seconds(seconds_from_startup),
|
||||
up: Up::from_startup_seconds(seconds_from_startup),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue