|
@@ -183,12 +183,10 @@ impl Address {
|
|
/// unicast.
|
|
/// unicast.
|
|
pub fn solicited_node(&self) -> Address {
|
|
pub fn solicited_node(&self) -> Address {
|
|
assert!(self.is_unicast());
|
|
assert!(self.is_unicast());
|
|
- let mut bytes = [
|
|
|
|
- 0xff, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
- 0x00, 0x00,
|
|
|
|
- ];
|
|
|
|
- bytes[14..].copy_from_slice(&self.0[14..]);
|
|
|
|
- Address(bytes)
|
|
|
|
|
|
+ Address([
|
|
|
|
+ 0xff, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xFF,
|
|
|
|
+ self.0[13], self.0[14], self.0[15],
|
|
|
|
+ ])
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|