File bonding-miimon-xml-parsing.patch of Package libvirt.openSUSE_12.1_Update
From 03f8b5ab87fba421614128fd620a67793d1aba79 Mon Sep 17 00:00:00 2001
From: Marius Tomaschewski <mt@suse.de>
Date: Thu, 16 Jun 2011 16:47:53 +0200
Subject: [PATCH] bonding interface miimon parameter parsing success
Report success at the end of bonding interface miimon parameter
parsing, when some of the optional parameters were missed, but
no problems were found.
---
src/conf/interface_conf.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
Index: libvirt-0.9.6/src/conf/interface_conf.c
===================================================================
--- libvirt-0.9.6.orig/src/conf/interface_conf.c
+++ libvirt-0.9.6/src/conf/interface_conf.c
@@ -621,6 +621,7 @@ virInterfaceDefParseBond(virInterfaceDef
ret = -1;
goto error;
}
+ ret = 0; /* no problem found, report success */
} else if (virXPathNode("./arpmon[1]", ctxt) != NULL) {