mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
conf: fix comment about parsing graphics listen address
This commit is contained in:
parent
f043199413
commit
9f8badbbe6
@ -7291,7 +7291,7 @@ virDomainGraphicsListenDefParseXML(virDomainGraphicsListenDefPtr def,
|
|||||||
if (network && network[0]) {
|
if (network && network[0]) {
|
||||||
if (def->type != VIR_DOMAIN_GRAPHICS_LISTEN_TYPE_NETWORK) {
|
if (def->type != VIR_DOMAIN_GRAPHICS_LISTEN_TYPE_NETWORK) {
|
||||||
/* network='xxx' never makes sense with anything except
|
/* network='xxx' never makes sense with anything except
|
||||||
* type='address' */
|
* type='network' */
|
||||||
virReportError(VIR_ERR_XML_ERROR, "%s",
|
virReportError(VIR_ERR_XML_ERROR, "%s",
|
||||||
_("network attribute not allowed when listen type is not network"));
|
_("network attribute not allowed when listen type is not network"));
|
||||||
goto error;
|
goto error;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user