]> git.ipfire.org Git - thirdparty/libvirt.git/commit
net: Re-use checks when creating transient networks
authorPeter Krempa <pkrempa@redhat.com>
Thu, 25 Oct 2012 14:27:07 +0000 (16:27 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 2 Nov 2012 12:28:40 +0000 (13:28 +0100)
commitb6dbbae128ec542965e4477632d2be96cf6f51f8
tree5d7a4e6b997e1a35f32206970d6f7e3b85f6be36
parente87af617fc3e5a69fb19319d43f58262e5e624ea
net: Re-use checks when creating transient networks

When a transient network was created some of the checks weren't run on
the definition allowing to start invalid networks.

This patch splits out code to the network validation function and
re-uses that code when creating transient networks.
src/network/bridge_driver.c