network: ensure multicast bit is unset in random mac addresses

This commit is contained in:
Alex Zenla committed 2024-02-11 16:09:47 +00:00
1 parent f96f9d8abf
commit dbfc07b026
2 files changed
+2

No files matched your search

+1
View File
@@ -85,6 +85,7 @@ impl Controller {
let mut mac = MacAddr6::random();
mac.set_local(true);
mac.set_multicast(false);
let ipv4 = self.allocate_ipv4()?;
let ipv6 = mac.to_link_local_ipv6();
let launch_config = LaunchInfo {