The Ban is 2 years. Only if the company cancel you, which most wont. companies dont. The new law still need an NOC from your employer / ministry with will take into account competition restrictions.