Skip to content
Snippets Groups Projects
Commit abc8cd65 authored by NGUYEN Do Duc Anh's avatar NGUYEN Do Duc Anh
Browse files

fix missing src change

parent 9060ac1a
No related branches found
No related tags found
No related merge requests found
......@@ -309,6 +309,7 @@ int inter_op_ebpf(struct xdp_md *ctx)
bpf_trace_printk("Replaced 0x%x with 0x%x", original_ip, ip->daddr);
ip_pool.insert(&original_dst, &new_ip);
ip_pool.insert(&new_ip, &original_dst);
ip->daddr = new_ip;
current_index++;
alt_ip_index.update(&alt_ip_index_key, &current_index);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment