Fill yourip in extended handshake

This commit is contained in:
Ivan 2024-08-18 22:55:32 +02:00
parent c697809e50
commit 3c0baacaa7
2 changed files with 7 additions and 2 deletions

View file

@ -96,7 +96,10 @@ impl Serialize for YourIP {
let buf = ipv4.octets();
serializer.serialize_bytes(&buf)
}
IpAddr::V6(_) => todo!(),
IpAddr::V6(ipv6) => {
let buf = ipv6.octets();
serializer.serialize_bytes(&buf)
},
}
}
}