Skip to content

Commit

Permalink
Refactor net_monitor.rs to update cgroup_transmit_counter initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
arloor committed Sep 27, 2024
1 parent d65f612 commit a113855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust_http_proxy/src/net_monitor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ impl NetMonitor {
Ok(NetMonitor {
buffer: Arc::new(RwLock::new(VecDeque::<TimeValue>::new())),
#[cfg(all(target_os = "linux", feature = "bpf"))]
cgroup_transmit_counter: cgroup_traffic::init_self_cgroup_skb_monitor()?,
cgroup_transmit_counter: cgroup_traffic::init_cgroup_skb_monitor(cgroup_traffic::SELF)?,
})
}

Expand Down

0 comments on commit a113855

Please sign in to comment.