Fix when an interface changes role (prov <-> req)+ Fix style error.