CC: Ethan Jackson <ethan@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
error = ofproto_port_add(br->ofproto, iface->netdev, &new_ofp_port);
if (!error) {
VLOG_INFO("bridge %s: added interface %s (%d)", br->name,
error = ofproto_port_add(br->ofproto, iface->netdev, &new_ofp_port);
if (!error) {
VLOG_INFO("bridge %s: added interface %s (%d)", br->name,
- iface->name, ofp_port);
+ iface->name, new_ofp_port);
iface_set_ofp_port(iface, new_ofp_port);
} else {
netdev_close(iface->netdev);
iface_set_ofp_port(iface, new_ofp_port);
} else {
netdev_close(iface->netdev);