Wed Nov 21 11:36:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

* src/bridge.c, src/qemu_driver.c: Incorrect call to
	  brSetForwardDelay changed to brSetEnableSTP.
This commit is contained in:
Richard W.M. Jones 2007-11-21 11:46:05 +00:00
parent a1c2e40cac
commit 618db3deb7
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Wed Nov 21 11:36:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
* src/bridge.c, src/qemu_driver.c: Incorrect call to
brSetForwardDelay changed to brSetEnableSTP.
Wed Nov 21 11:36:43 CET 2007 Daniel Veillard <veillard@redhat.com>
* docs/index.html docs/libvir.html: apply english corrections

View File

@ -731,7 +731,7 @@ brSetEnableSTP(brControl *ctl ATTRIBUTE_UNUSED,
int n;
n = 1 + /* brctl */
1 + /* setfd */
1 + /* stp */
1 + /* brige name */
1; /* value */

View File

@ -1159,7 +1159,7 @@ static int qemudStartNetworkDaemon(virConnectPtr conn,
goto err_delbr;
}
if ((err = brSetForwardDelay(driver->brctl, network->bridge, network->def->disableSTP ? 0 : 1))) {
if ((err = brSetEnableSTP(driver->brctl, network->bridge, network->def->disableSTP ? 0 : 1))) {
qemudReportError(conn, NULL, NULL, VIR_ERR_INTERNAL_ERROR,
"failed to set bridge STP to %s\n",
network->def->disableSTP ? "off" : "on");