mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-27 02:51:16 +00:00
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:
parent
a1c2e40cac
commit
618db3deb7
@ -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>
|
Wed Nov 21 11:36:43 CET 2007 Daniel Veillard <veillard@redhat.com>
|
||||||
|
|
||||||
* docs/index.html docs/libvir.html: apply english corrections
|
* docs/index.html docs/libvir.html: apply english corrections
|
||||||
|
@ -731,7 +731,7 @@ brSetEnableSTP(brControl *ctl ATTRIBUTE_UNUSED,
|
|||||||
int n;
|
int n;
|
||||||
|
|
||||||
n = 1 + /* brctl */
|
n = 1 + /* brctl */
|
||||||
1 + /* setfd */
|
1 + /* stp */
|
||||||
1 + /* brige name */
|
1 + /* brige name */
|
||||||
1; /* value */
|
1; /* value */
|
||||||
|
|
||||||
|
@ -1159,7 +1159,7 @@ static int qemudStartNetworkDaemon(virConnectPtr conn,
|
|||||||
goto err_delbr;
|
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,
|
qemudReportError(conn, NULL, NULL, VIR_ERR_INTERNAL_ERROR,
|
||||||
"failed to set bridge STP to %s\n",
|
"failed to set bridge STP to %s\n",
|
||||||
network->def->disableSTP ? "off" : "on");
|
network->def->disableSTP ? "off" : "on");
|
||||||
|
Loading…
Reference in New Issue
Block a user