vswitchd: Fix "updelay" configuration for bonds.
authorBen Pfaff <blp@nicira.com>
Thu, 26 Aug 2010 17:06:36 +0000 (10:06 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 26 Aug 2010 17:06:36 +0000 (10:06 -0700)
Reported-by: Michael Mao <mmao@nicira.com>
Bug #3521.

vswitchd/bridge.c

index b4167f66d63499cd75021271cb24ffb07dd3d7f4..0c283dd290e617f29a8314dfd68ac256d2139468 100644 (file)
@@ -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;
     }