slirp: Strictly associate DHCP/BOOTP and TFTP with virtual host
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 20 Jul 2011 10:20:15 +0000 (12:20 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Sat, 23 Jul 2011 15:19:49 +0000 (10:19 -0500)
commit5a82362ad0bf06bba3377d63ca0ecd05fb74f322
tree86848ea69e666e4b29ba2541720207eb3fab4518
parentc54ed5bcdd8ed29f9cdfcfc0e456b6ec1f25d2c3
slirp: Strictly associate DHCP/BOOTP and TFTP with virtual host

Instead of accepting every DHCP/BOOTP and TFTP packet, only invoke the
built-in servers if the target is the virtual host.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
slirp/udp.c