[ovs-dev] [PATCH] vswitchd: Fix "updelay" configuration for bonds.

Ben Pfaff blp at nicira.com
Thu Aug 26 17:06:41 UTC 2010


Reported-by: Michael Mao <mmao at nicira.com>
Bug #3521.
---
 vswitchd/bridge.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c
index b4167f6..0c283dd 100644
--- a/vswitchd/bridge.c
+++ b/vswitchd/bridge.c
@@ -3340,7 +3340,7 @@ port_reconfigure(struct port *port, const struct ovsrec_port *cfg)
     if (port->updelay < 0) {
         port->updelay = 0;
     }
-    port->updelay = cfg->bond_downdelay;
+    port->downdelay = cfg->bond_downdelay;
     if (port->downdelay < 0) {
         port->downdelay = 0;
     }
-- 
1.7.1





More information about the dev mailing list