提交 618db3de 编写于 作者: R Richard W.M. Jones

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.
上级 a1c2e40c
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
......
......@@ -731,7 +731,7 @@ brSetEnableSTP(brControl *ctl ATTRIBUTE_UNUSED,
int n;
n = 1 + /* brctl */
1 + /* setfd */
1 + /* stp */
1 + /* brige name */
1; /* value */
......
......@@ -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");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册