[libvirt] [PATCH] conf: Don't try formating non-existing addresses

Michal Privoznik mprivozn at redhat.com
Tue Aug 11 14:04:35 UTC 2015


On 11.08.2015 15:16, Martin Kletzander wrote:
> Commit a6f9af8292b6 added checking for address colisions between
> starting and ending addresses of forwarding addresses, but forgot that
> there might be no addresses set at all.
> 
> Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
> ---
>  src/conf/network_conf.c                            | 22 +++++++++++++++++++---
>  ....xml => nat-network-forward-nat-no-address.xml} |  1 -
>  ....xml => nat-network-forward-nat-no-address.xml} |  1 -
>  tests/networkxml2xmltest.c                         |  1 +
>  4 files changed, 20 insertions(+), 5 deletions(-)
>  copy tests/networkxml2xmlin/{nat-network-forward-nat-address.xml => nat-network-forward-nat-no-address.xml} (93%)
>  copy tests/networkxml2xmlout/{nat-network-forward-nat-address.xml => nat-network-forward-nat-no-address.xml} (93%)
> 

ACK with that diff you've posted applied.

Michal




More information about the libvir-list mailing list