Skip to content

Commit e2bf713

Browse files
phil-oppoli-obk
authored andcommitted
Ignore dhcp packets in poll_socket
1 parent c733f6c commit e2bf713

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bin/async-await.rs

+1
Original file line numberDiff line numberDiff line change
@@ -608,6 +608,7 @@ where
608608
}
609609
socket.send_slice(&reply.0, reply.1)?;
610610
},
611+
smoltcp::dhcp::UDP_CLIENT_PORT => {}, // dhcp packet
611612
_ => unreachable!(),
612613
},
613614
&mut Socket::Tcp(ref mut socket) => match socket.local_endpoint().port {

0 commit comments

Comments
 (0)