Compare commits

...
2 Commits
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ impl Host {
.map_err(|err| Error::VmnetFailed { source: err })?; .map_err(|err| Error::VmnetFailed { source: err })?;
// Now let the callback finish // Now let the callback finish
self.callback_can_continue_tx.send(()).unwrap(); let _ = self.callback_can_continue_tx.send(());
self.interface self.interface
.finalize() .finalize()
+3 -1
View File
@@ -12,7 +12,9 @@ impl Proxy {
// Snoop bootpd(8) replies from the host to // Snoop bootpd(8) replies from the host to
// figure out the IP assigned to the VM // figure out the IP assigned to the VM
self.snoop(frame); if frame.dst_addr() == self.vm_mac_address {
self.snoop(frame);
}
self.vm self.vm
.write(frame.as_ref()) .write(frame.as_ref())