bridge: Fill in ofport column of Interface records.
authorBen Pfaff <blp@nicira.com>
Wed, 18 May 2011 16:16:00 +0000 (09:16 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 18 May 2011 16:16:00 +0000 (09:16 -0700)
This was lost in the transition to the "next" branch.

vswitchd/bridge.c

index ff2745e..dd0d1b2 100644 (file)
@@ -791,7 +791,7 @@ iface_set_ofp_port(struct iface *iface, int ofp_port)
     assert(iface->ofp_port < 0 && ofp_port >= 0);
     iface->ofp_port = ofp_port;
     hmap_insert(&br->ifaces, &iface->ofp_port_node, hash_int(ofp_port, 0));
-
+    iface_set_ofport(iface->cfg, ofp_port);
 }
 
 static void