ofproto_unixctl_fdb_flush(struct unixctl_conn *conn,
const char *args, void *aux OVS_UNUSED)
{
- const struct ofproto_dpif *ofproto;
+ struct ofproto_dpif *ofproto;
ofproto = ofproto_dpif_lookup(args);
if (!ofproto) {
return;
}
mac_learning_flush(ofproto->ml);
+ ofproto->need_revalidate = true;
unixctl_command_reply(conn, 200, "table successfully flushed");
}