- DPIF_PORT_FOR_EACH (&odp_port, &dump, br->dpif) {
- if (!shash_find(&want_ifaces, odp_port.devname)
- && strcmp(odp_port.devname, br->name)) {
- int retval = dpif_port_del(br->dpif, odp_port.port);
+ DPIF_PORT_FOR_EACH (&dpif_port, &dump, br->dpif) {
+ if (!shash_find(&want_ifaces, dpif_port.name)
+ && strcmp(dpif_port.name, br->name)) {
+ int retval = dpif_port_del(br->dpif, dpif_port.port_no);