Skip to content

Commit

Permalink
fix: bpf does not take effect in analyzer mode
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanchaoa authored and rvql committed Dec 4, 2024
1 parent 8620eca commit 69bb43a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions agent/src/dispatcher/base_dispatcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -515,10 +515,6 @@ impl BaseDispatcher {
}

let tap_interfaces = self.tap_interfaces.lock().unwrap();
if tap_interfaces.len() == 0 {
return;
}

let bpf_options = self.bpf_options.lock().unwrap();
if let Err(e) = self.engine.set_bpf(
bpf_options.get_bpf_instructions(
Expand Down

0 comments on commit 69bb43a

Please sign in to comment.