]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
network: Don't remove transient network if creating of config file fails
authorPeter Krempa <pkrempa@redhat.com>
Mon, 22 Apr 2013 09:10:39 +0000 (11:10 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 30 Apr 2013 07:08:40 +0000 (09:08 +0200)
commit8e9189001501558e237451d755a01008f5dfa561
tree7d2ecbf8d5e0f5ed074ba25301e2c25cc4b76d5d
parent811143c0b6f36ab4724c8b011e365609cac1a8aa
network: Don't remove transient network if creating of config file fails

On the off-chance that creation of persistent configuration file would
fail when defining a network that is already started as transient, the
code would remove the transient data structure and thus the network.

This patch changes the code so that in such case, the network is again
marked as transient and left behind.
src/network/bridge_driver.c