mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
conf: error out on invalid host id
https://bugzilla.redhat.com/show_bug.cgi?id=1196503 We already check whether the host id is valid or not, add a jump to forbid invalid host id. Signed-off-by: Luyao Huang <lhuang@redhat.com> Signed-off-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
4bbe1029f2
commit
719cd2182b
@ -717,6 +717,7 @@ virNetworkDHCPHostDefParseXML(const char *networkName,
|
||||
virReportError(VIR_ERR_XML_ERROR,
|
||||
_("Invalid character '%c' in id '%s' of network '%s'"),
|
||||
*cp, id, networkName);
|
||||
goto cleanup;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user