]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: return immediately on error in dhcp host element
authorLaine Stump <laine@laine.org>
Mon, 19 Mar 2012 03:57:50 +0000 (23:57 -0400)
committerLaine Stump <laine@laine.org>
Tue, 20 Mar 2012 00:33:30 +0000 (20:33 -0400)
commit43d635caf30988b28f1367b97041fc2f28eabec4
treea206fcfb8904d24abd42b837eca6bc3a7a73aff3
parent5d57104538297a7e5dab21f9b7ca8070b80c24fb
conf: return immediately on error in dhcp host element

If an error was encountered parsing a dhcp host entry mac address or
name, parsing would continue and log a less descriptive error that
might make it more difficult to notice the true nature of the problem.

This patch returns immediately on logging the first error.
src/conf/network_conf.c