Adding the patch for ntp legacy code