]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: error out on missing dhcp host attributes
authorJán Tomko <jtomko@redhat.com>
Thu, 26 Feb 2015 08:03:09 +0000 (09:03 +0100)
committerJán Tomko <jtomko@redhat.com>
Thu, 26 Feb 2015 08:11:01 +0000 (09:11 +0100)
commitea7de69315f227a14a1960f4ad02aa397699c827
tree8c7ddb6b7c277fb3b89d9b0ec34014ecbb01f0b0
parentb7d12c5c50c70427b8608bfb01ea80722284595b
conf: error out on missing dhcp host attributes

In virNetworkDHCPHostDefParseXML an error is reported
when partialOkay == true, and none of ip, mac, name
were supplied.

Add the missing goto and error out in this case.

(cherry picked from commit b15b21f3a52945644c7ccbbe1dd51b86d36ca777)
src/conf/network_conf.c