]> git.proxmox.com Git - mirror_qemu.git/commit
slirp/arp: do not special-case bogus IP addresses
authorSamuel Thibault <samuel.thibault@gnu.org>
Wed, 14 May 2014 01:13:09 +0000 (03:13 +0200)
committerEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Sun, 8 Jun 2014 23:49:28 +0000 (01:49 +0200)
commit959e41473f2179850578482052fb73b913bc4e42
tree03242d926a2e182aeabe4ba81735d2a97f70a196
parent37654d9e6af84003982f8b9a5d59a4aef28e0a79
slirp/arp: do not special-case bogus IP addresses

Do not special-case addresses with zero host part, as we do not
necessarily know how big it is, and the guest can fake them anyway.
Silently avoid having 0.0.0.0 as a destination, however.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
[Edgar: Minor change to subject]
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
slirp/arp_table.c
slirp/slirp.c