forked from M-Labs/artiq
runtime: demote dropped and malformed packets msgs to debug
This commit is contained in:
parent
4af7600b2d
commit
7afb23e8be
|
@ -237,13 +237,13 @@ fn startup_ethernet() {
|
||||||
Ok(true) => (),
|
Ok(true) => (),
|
||||||
Ok(false) => break,
|
Ok(false) => break,
|
||||||
Err(smoltcp::Error::Unrecognized) => (),
|
Err(smoltcp::Error::Unrecognized) => (),
|
||||||
Err(err) => warn!("network error: {}", err)
|
Err(err) => debug!("network error: {}", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if let Some(_net_stats_diff) = net_stats.update() {
|
if let Some(_net_stats_diff) = net_stats.update() {
|
||||||
warn!("ethernet mac:{}", ethmac::EthernetStatistics::new());
|
debug!("ethernet mac:{}", ethmac::EthernetStatistics::new());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue