chore(deps): update dependencies and adapt netlink neighbor attributes
This commit is contained in:
2 files changed
+700
-901
No files matched your search
Generated
+699
-900
File diff suppressed because it is too large.
Load diff
@@ -75,7 +75,7 @@ pub async fn get_with_handle(
|
|||||||
NeighbourAddress::Inet6(v6) => ip = Some(IpAddr::from(v6)),
|
NeighbourAddress::Inet6(v6) => ip = Some(IpAddr::from(v6)),
|
||||||
_ => continue 'row,
|
_ => continue 'row,
|
||||||
},
|
},
|
||||||
NeighbourAttribute::LinkLocalAddress(bytes) => {
|
NeighbourAttribute::LinkLayerAddress(bytes) => {
|
||||||
mac = match bytes.len() {
|
mac = match bytes.len() {
|
||||||
6 => bytes.first_chunk::<6>().map(|&b| MacAddr::from(b)),
|
6 => bytes.first_chunk::<6>().map(|&b| MacAddr::from(b)),
|
||||||
8 => bytes.first_chunk::<8>().map(|&b| MacAddr::from(b)),
|
8 => bytes.first_chunk::<8>().map(|&b| MacAddr::from(b)),
|
||||||
|
|||||||
Reference in new issue
Block a user