We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f372b44 commit fb11c17Copy full SHA for fb11c17
oryx-tui/src/ebpf.rs
@@ -239,7 +239,7 @@ pub fn load_ingress(
239
240
#[cfg(not(debug_assertions))]
241
let mut bpf = match EbpfLoader::new()
242
- .set_global("TRAFFIC_DIRECTION", &(-1 as i32), true)
+ .set_global("TRAFFIC_DIRECTION", &-1i32, true)
243
.load(include_bytes_aligned!(
244
"../../target/bpfel-unknown-none/release/oryx"
245
)) {
@@ -443,7 +443,7 @@ pub fn load_egress(
443
444
445
446
- .set_global("TRAFFIC_DIRECTION", &(1 as i32), true)
+ .set_global("TRAFFIC_DIRECTION", &1i32, true)
447
448
449
0 commit comments