Plumb path_mtu_lookup into Windows run_tun_reader

The B3 path_mtu_lookup plumbing landed without updating the
windows_tun::run_tun_reader signature or its inner handle_tun_packet
call, breaking the Windows build. Linux/macOS variants and
TunWriter (Windows) were already plumbed; this brings the Windows
reader into line.

No behavioral change on any platform.
This commit is contained in:
Johnathan Corgan
2026-05-02 18:23:17 +00:00
parent ae607431eb
commit 953137ede7
+2
View File
@@ -1010,6 +1010,7 @@ mod windows_tun {
tun_tx: TunTx,
outbound_tx: TunOutboundTx,
transport_mtu: u16,
path_mtu_lookup: PathMtuLookup,
) {
let (name, mut buf, max_mss) = super::tun_reader_setup(device.name(), mtu, transport_mtu);
@@ -1023,6 +1024,7 @@ mod windows_tun {
our_addr,
&tun_tx,
&outbound_tx,
&path_mtu_lookup,
) {
break;
}