]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Incorrect error message in virDomainNetDefParseXML
authorFlorian Vichot <florian.vichot@diateam.net>
Wed, 30 Sep 2009 16:51:30 +0000 (18:51 +0200)
committerDaniel Veillard <veillard@redhat.com>
Wed, 30 Sep 2009 16:51:30 +0000 (18:51 +0200)
* src/conf/domain_conf.c: when declaring a <interface type="bridge">
  tag, <source> needs a "bridge" attribute, but the parser complains
  about a missing "dev" attribute.

src/conf/domain_conf.c

index 868e8652253ffa595e14492455cada924aec0e24..86da022b36b02b8c88a684c40c4bac01a642f13f 100644 (file)
@@ -1112,7 +1112,7 @@ virDomainNetDefParseXML(virConnectPtr conn,
     case VIR_DOMAIN_NET_TYPE_BRIDGE:
         if (bridge == NULL) {
             virDomainReportError(conn, VIR_ERR_INTERNAL_ERROR, "%s",
-    _("No <source> 'dev' attribute specified with <interface type='bridge'/>"));
+    _("No <source> 'bridge' attribute specified with <interface type='bridge'/>"));
             goto error;
         }
         def->data.bridge.brname = bridge;