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 ff2745ef1c499bcd18b8132568d4a914aa32eed2..dd0d1b2a4bac255f92b8008705bcf644d666471a 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