]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
conf: Don't try formating non-existing addresses
authorMartin Kletzander <mkletzan@redhat.com>
Tue, 11 Aug 2015 13:09:29 +0000 (15:09 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 11 Aug 2015 14:07:41 +0000 (16:07 +0200)
commit1f24c1494a85d663fa36047922a7974a292a46a7
tree973067a4fd493d62215b94ad1181e17bb6e5a70d
parent818e68c5b422158f6fd3edf6f77ae82a631cb41d
conf: Don't try formating non-existing addresses

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@redhat.com>
src/conf/network_conf.c
tests/networkxml2xmlin/nat-network-forward-nat-no-address.xml [new file with mode: 0644]
tests/networkxml2xmlout/nat-network-forward-nat-no-address.xml [new file with mode: 0644]
tests/networkxml2xmltest.c