- switch (handle->ats_mode)
- {
- case MODE_MLP:
- GAS_mlp_address_change_preference (handle->solver, peer, kind, score);
- break;
- case MODE_SIMPLISTIC:
- GAS_simplistic_address_change_preference (handle->solver, peer, kind, score);
- break;
- default:
- GNUNET_break (0);
- break;
- }
+ handle->s_pref (handle->solver, peer, kind, score);