srcmac reply

This commit is contained in:
asxalex 2024-10-22 16:14:34 +08:00
parent 53b0be35a7
commit c130dcc83e

View File

@ -825,7 +825,7 @@ async fn handle_tun_packet(
ttl: 2,
network_id: edge.network_id.load(Ordering::Relaxed),
src_mac: Vec::from(self_mac),
dst_mac: Vec::from(arp.shwaddr),
dst_mac: Vec::from(arp.dhwaddr),
data: encrypted,
};