From: Ben Pfaff Date: Wed, 18 May 2011 16:16:00 +0000 (-0700) Subject: bridge: Fill in ofport column of Interface records. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e281761473ed67ecae00205f62180e9a21c9ade;p=openvswitch bridge: Fill in ofport column of Interface records. This was lost in the transition to the "next" branch. --- diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c index ff2745ef..dd0d1b2a 100644 --- a/vswitchd/bridge.c +++ b/vswitchd/bridge.c @@ -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