mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
chore(relay): use existing ebpf module import (#10202)
This commit is contained in:
@@ -18,8 +18,7 @@ async fn ping_pong() {
|
||||
|
||||
let (_meter_provider, exporter) = init_meter_provider();
|
||||
|
||||
let mut program =
|
||||
firezone_relay::ebpf::Program::try_load("lo", ebpf::AttachMode::Generic).unwrap();
|
||||
let mut program = ebpf::Program::try_load("lo", ebpf::AttachMode::Generic).unwrap();
|
||||
|
||||
// Linux does not set the correct UDP checksum when sending the packet, so our updated checksum in the eBPF code will be wrong and later dropped.
|
||||
// To make the test work, we therefore need to tell the eBPF program to disable UDP checksumming by just setting it to 0.
|
||||
|
||||
Reference in New Issue
Block a user