From a0aa50070d25ce86232910919af060c0c0e1bc48 Mon Sep 17 00:00:00 2001 From: Sanskar Jaiswal Date: Sat, 26 Oct 2024 19:51:06 +0530 Subject: [PATCH] fix bpf program variable name in loader Signed-off-by: Sanskar Jaiswal --- dataplane/loader/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dataplane/loader/src/main.rs b/dataplane/loader/src/main.rs index ae33d14..510d3f6 100644 --- a/dataplane/loader/src/main.rs +++ b/dataplane/loader/src/main.rs @@ -35,7 +35,7 @@ async fn main() -> Result<(), anyhow::Error> { "../../target/bpfel-unknown-none/debug/loader" ))?; #[cfg(not(debug_assertions))] - let mut bpf = Ebpf::load(include_bytes_aligned!( + let mut bpf_program = Ebpf::load(include_bytes_aligned!( "../../target/bpfel-unknown-none/release/loader" ))?; if let Err(e) = EbpfLogger::init(&mut bpf_program) {