bundle_move() expects two struct ofbundle pointers as arguments, but
void pointers hide the error.
Signed-off-by: Daniele Venturino <daniele.venturino@m3s.it>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
}
if (rstp_shift_root_learned_address(ofproto->rstp)) {
- bundle_move(rstp_get_old_root_aux(ofproto->rstp),
- rstp_get_new_root_aux(ofproto->rstp));
+ bundle_move(((struct ofport_dpif *)rstp_get_old_root_aux(ofproto->rstp))->bundle,
+ ((struct ofport_dpif *)rstp_get_new_root_aux(ofproto->rstp))->bundle);
rstp_reset_root_changed(ofproto->rstp);
}
}