Update smoltcp
This commit is contained in:
parent
773c3570e7
commit
b4c11695cf
@ -46,4 +46,4 @@ embassy = { git = "https://github.com/embassy-rs/embassy" }
|
|||||||
embassy-std = { git = "https://github.com/embassy-rs/embassy" }
|
embassy-std = { git = "https://github.com/embassy-rs/embassy" }
|
||||||
embassy-macros = { git = "https://github.com/embassy-rs/embassy" }
|
embassy-macros = { git = "https://github.com/embassy-rs/embassy" }
|
||||||
embassy-traits = { git = "https://github.com/embassy-rs/embassy" }
|
embassy-traits = { git = "https://github.com/embassy-rs/embassy" }
|
||||||
smoltcp = { git = "https://github.com/smoltcp-rs/smoltcp", rev="9ce3d9505ef5455bb049713b9262561d78ebf330" }
|
smoltcp = { git = "https://github.com/smoltcp-rs/smoltcp", rev="ec59aba5e10cf91df0c9253d9c2aca4dd143d2ff" }
|
@ -38,9 +38,9 @@ impl Configurator for DhcpConfigurator {
|
|||||||
}
|
}
|
||||||
|
|
||||||
match socket.poll() {
|
match socket.poll() {
|
||||||
Dhcpv4Event::NoChange => Event::NoChange,
|
None => Event::NoChange,
|
||||||
Dhcpv4Event::Deconfigured => Event::Deconfigured,
|
Some(Dhcpv4Event::Deconfigured) => Event::Deconfigured,
|
||||||
Dhcpv4Event::Configured(config) => {
|
Some(Dhcpv4Event::Configured(config)) => {
|
||||||
let mut dns_servers = Vec::new();
|
let mut dns_servers = Vec::new();
|
||||||
for s in &config.dns_servers {
|
for s in &config.dns_servers {
|
||||||
if let Some(addr) = s {
|
if let Some(addr) = s {
|
||||||
|
Loading…
Reference in New Issue
Block a user