diff -c -r1.72 xend_internal.c *** src/xend_internal.c 10 Nov 2006 11:13:01 -0000 1.72 --- src/xend_internal.c 10 Nov 2006 22:24:39 -0000 *************** *** 1698,1735 **** if (drvType) free(drvType); } else if (sexpr_lookup(node, "device/vif")) { ! const char *tmp2; ! ! tmp = sexpr_node(node, "device/vif/bridge"); ! tmp2 = sexpr_node(node, "device/vif/script"); ! if ((tmp != NULL) || (strstr(tmp2, "bridge"))) { virBufferVSprintf(&buf, " \n"); ! if (tmp != NULL) ! virBufferVSprintf(&buf, " \n", ! tmp); ! tmp = sexpr_node(node, "device/vif/vifname"); ! if (tmp != NULL) ! virBufferVSprintf(&buf, " \n", ! tmp); ! tmp = sexpr_node(node, "device/vif/mac"); ! if (tmp != NULL) ! virBufferVSprintf(&buf, " \n", ! tmp); ! tmp = sexpr_node(node, "device/vif/ip"); ! if (tmp != NULL) ! virBufferVSprintf(&buf, " \n", ! tmp); if (tmp2 != NULL) ! virBufferVSprintf(&buf, "