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 b4167f6..0c283dd 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;
     }