Index: qemud/conf.c
===================================================================
RCS file: /data/cvs/libvirt/qemud/conf.c,v
retrieving revision 1.44
diff -u -p -r1.44 conf.c
--- qemud/conf.c 20 Mar 2007 16:50:42 -0000 1.44
+++ qemud/conf.c 21 Mar 2007 15:34:40 -0000
@@ -508,7 +508,7 @@ static struct qemud_vm_net_def *qemudPar
} else if ((network == NULL) &&
(net->type == QEMUD_NET_BRIDGE) &&
(xmlStrEqual(cur->name, BAD_CAST "source"))) {
- bridge = xmlGetProp(cur, BAD_CAST "dev");
+ bridge = xmlGetProp(cur, BAD_CAST "bridge");
} else if ((network == NULL) &&
((net->type == QEMUD_NET_SERVER) ||
(net->type == QEMUD_NET_CLIENT) ||
@@ -2549,7 +2549,7 @@ char *qemudGenerateXML(struct qemud_serv
break;
case QEMUD_NET_BRIDGE:
- if (bufferVSprintf(buf, " \n", net->dst.bridge.brname) < 0)
+ if (bufferVSprintf(buf, " \n", net->dst.bridge.brname) < 0)
goto no_memory;
if (net->dst.bridge.ifname[0] != '\0') {
if (bufferVSprintf(buf, " \n", net->dst.bridge.ifname) < 0)