Only perform DHCP snooping for frames destined to the VM (#10)
This commit is contained in:
parent
717e6b0f89
commit
e2403f0ea9
|
|
@ -12,7 +12,9 @@ impl Proxy {
|
|||
|
||||
// Snoop bootpd(8) replies from the host to
|
||||
// figure out the IP assigned to the VM
|
||||
self.snoop(frame);
|
||||
if frame.dst_addr() == self.vm_mac_address {
|
||||
self.snoop(frame);
|
||||
}
|
||||
|
||||
self.vm
|
||||
.write(frame.as_ref())
|
||||
|
|
|
|||
Loading…
Reference in New Issue