Update smoltcp

This commit is contained in:
Dario Nieuwenhuis
2021-05-28 22:34:07 +02:00
parent 773c3570e7
commit b4c11695cf
2 changed files with 4 additions and 4 deletions

View File

@ -38,9 +38,9 @@ impl Configurator for DhcpConfigurator {
}
match socket.poll() {
Dhcpv4Event::NoChange => Event::NoChange,
Dhcpv4Event::Deconfigured => Event::Deconfigured,
Dhcpv4Event::Configured(config) => {
None => Event::NoChange,
Some(Dhcpv4Event::Deconfigured) => Event::Deconfigured,
Some(Dhcpv4Event::Configured(config)) => {
let mut dns_servers = Vec::new();
for s in &config.dns_servers {
if let Some(addr) = s {