]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/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:03:09 +0000 (09:03 +0100)
commitb15b21f3a52945644c7ccbbe1dd51b86d36ca777
tree85d209fb66bc6ad8e420c838829818427387dc7d
parent719cd2182bf06196b26204a8cf88d28001b1d79b
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.
src/conf/network_conf.c