]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Check for down limit of SLIRP prefix too
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 6 Feb 2018 09:21:56 +0000 (10:21 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 14 Feb 2018 12:43:47 +0000 (13:43 +0100)
commitb62b8090b2ad4524a5bf9d40d0d1c17a9d57f5a0
tree02ef925734db1681dc4742d573bf951e34342ddb
parent9cae9c822be1330fe5c6eec5c61be2be8b70ba64
qemu: Check for down limit of SLIRP prefix too

https://bugzilla.redhat.com/show_bug.cgi?id=1515533

We're already checking if IPv4 prefix isn't too long. But we are
not checking if it isn't too short. QEMU supports prefixes longer
than 4 (including). I haven't find anything similar related to
IPv6 in qemu sources.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_domain.c