Fix missing break in network parsing code

This commit is contained in:
Daniel P. Berrange 2009-05-29 13:26:45 +00:00
parent 110c64209c
commit 8c13e4fef0
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
Fri May 29 14:26:30 BST 2009 Daniel P. Berrange <berrange@redhat.com>
Fix regression with network interface parsing
* src/domain_conf.c: Add missing 'break' statement in network
parser
Fri May 29 14:26:10 CEST 2009 Daniel Veillard <veillard@redhat.com> Fri May 29 14:26:10 CEST 2009 Daniel Veillard <veillard@redhat.com>
* docs/schemas/storagevol.rng docs/formatstorage.html[.in] * docs/schemas/storagevol.rng docs/formatstorage.html[.in]

View File

@ -1052,6 +1052,8 @@ virDomainNetDefParseXML(virConnectPtr conn,
def->data.socket.address = address; def->data.socket.address = address;
address = NULL; address = NULL;
} }
break;
case VIR_DOMAIN_NET_TYPE_INTERNAL: case VIR_DOMAIN_NET_TYPE_INTERNAL:
if (internal == NULL) { if (internal == NULL) {
virDomainReportError(conn, VIR_ERR_INTERNAL_ERROR, "%s", virDomainReportError(conn, VIR_ERR_INTERNAL_ERROR, "%s",