What was the revenue impact in the second quarter due to the recent resurgence in COVID cases in India 
 and IP networking, where there are opportunities for significant share growth and a favorable competitive environment with the global pressure on Huawei and other Chinese suppliers. Establishing Ribbon as a provider of new disruptive technologies, such as 400G ZR+, 5G network slicing and disaggregated IP networking to contrast with incumbent legacy suppliers, and leveraging the broader ribbon presence and trusted partner status with large and small service providers, to gain share in our target addressable markets. There's also clearly an opportunity for us to gain more share of the higher-growth enterprise unified communications market.
To that end, we have recently restructured our enterprise go-to-market team and created a dedicated organization focused on this mission. We plan to expand both technology and product partnerships, as well as channel and distribution partners, to address this opportunity more effectively. We believe we have the strongest SBC portfolio in the industry, and we want to see better results. From a macro perspective, there are two significant issues that are impacting many companies in the technology and telecommunications industry.
First, the recent resurgence in COVID cases in many regions is highly concerning. And specifically, our plans for growth this year in India are impacted. Deployment rates in the second half of the second quarter dropped significantly with our key customers in the region. And while we have seen some recovery in July, we're not yet back to the levels we saw earlier in the year and certainly not back to pre-COVID levels.
As a result, I think it's prudent to adjust our expectations until it becomes more clear that the region has stabilized. Demand for capacity remains strong, and we're winning share. But operationally, the country is still struggling. Secondly, availability of semiconductors and other components has become increasingly challenging in recent months, especially for core silicon in our IP networking products.
While we have good mitigation strategies for supply disruptions in place, we don't anticipate the situation improving materially this year, limiting our ability to respond rapidly to changes in demand. Despite these near-term macro issues, the strength of our diversified portfolio is really highlighted this year. We have proven our ability to generate very strong earnings and improved profitability, even while revenue growth has been limited primarily by the situation in India. For the full year, we are reaffirming our earnings guidance with projections for higher gross margins and lower operating expenses.
The revenue target is more challenging to achieve without a significant recovery in India, and we're now anticipating revenue modestly below the previous guidance. For the third quarter, our expectations are for revenue in a range of $215 million to $225 million, non-GAAP gross margins of 57% to 58%, non-GAAP adjusted EBITDA of $32 million to $36 million, and non-GAAP diluted earnings per share of $0.11 to $0.13. As I look further out into 2022, we have a growing number of tailwinds as we begin to see the results from our new customer wins and the benefit of a broader global base. We're in a great spot to grow share in a very large total addressable market and have a proven strategy that we plan to repeat.
I couldn't be more excited about our path ahead. Operator, that concludes our prepared remarks. And now we can take a few questions.
Questions & Answers:
Operator
[Operator instructions] Our first question is from Dave Kang with B. Riley. Please proceed.
Dave Kang -- B. Riley Financial -- Analyst
Yes. Thank you. Good afternoon. First question is regarding your concerns about macro issues.
How much revenue was impacted in second quarter? And what about third-quarter revenue impact? What would the guidance have been if there were no component shortages, as well as COVID remained mild?
Bruce McClelland -- Chief Executive Officer
Yes. Hey, Dave. Bruce here. So in the second quarter, just to kind of give you a perspective, we've been running in Indi
 and IP networking, where there are opportunities for significant share growth and a favorable competitive environment with the global pressure on Huawei and other Chinese suppliers. Establishing Ribbon as a provider of new disruptive technologies, such as 400G ZR+, 5G network slicing and disaggregated IP networking to contrast with incumbent legacy suppliers, and leveraging the broader ribbon presence and trusted partner status with large and small service providers, to gain share in our target addressable markets. There's also clearly an opportunity for us to gain more share of the higher-growth enterprise unified communications market.
To that end, we have recently restructured our enterprise go-to-market team and created a dedicated organization focused on this mission. We plan to expand both technology and product partnerships, as well as channel and distribution partners, to address this opportunity more effectively. We believe we have the strongest SBC portfolio in the industry, and we want to see better results. From a macro perspective, there are two significant issues that are impacting many companies in the technology and telecommunications industry.
First, the recent resurgence in COVID cases in many regions is highly concerning. And specifically, our plans for growth this year in India are impacted. Deployment rates in the second half of the second quarter dropped significantly with our key customers in the region. And while we have seen some recovery in July, we're not yet back to the levels we saw earlier in the year and certainly not back to pre-COVID levels.
As a result, I think it's prudent to adjust our expectations until it becomes more clear that the region has stabilized. Demand for capacity remains strong, and we're winning share. But operationally, the country is still struggling. Secondly, availability of semiconductors and other components has become increasingly challenging in recent months, especially for core silicon in our IP networking products.
While we have good mitigation strategies for supply disruptions in place, we don't anticipate the situation improving materially this year, limiting our ability to respond rapidly to changes in demand. Despite these near-term macro issues, the strength of our diversified portfolio is really highlighted this year. We have proven our ability to generate very strong earnings and improved profitability, even while revenue growth has been limited primarily by the situation in India. For the full year, we are reaffirming our earnings guidance with projections for higher gross margins and lower operating expenses.
 The revenue target is more challenging to achieve without a significant recovery in India, and we're now anticipating revenue modestly below the previous guidance. For the third quarter, our expectations are for revenue in a range of $215 million to $225 million, non-GAAP gross margins of 57% to 58%, non-GAAP adjusted EBITDA of $32 million to $36 million, and non-GAAP diluted earnings per share of $0.11 to $0.13. As I look further out into 2022, we have a growing number of tailwinds as we begin to see the results from our new customer wins and the benefit of a broader global base. We're in a great spot to grow share in a very large total addressable market and have a proven strategy that we plan to repeat.
I couldn't be more excited about our path ahead. Operator, that concludes our prepared remarks. And now we can take a few questions.
Questions & Answers:
Operator
[Operator instructions] Our first question is from Dave Kang with B. Riley. Please proceed.
Dave Kang -- B. Riley Financial -- Analyst
Yes. Thank you. Good afternoon. First question is regarding your concerns about macro issues.
How much revenue was impacted in second quarter? And what about third-quarter revenue impact? What would the guidance have been if there were no component shortages, as well as COVID remained mild?
Bruce McClelland -- Chief Executive Officer
Yes. Hey, Dave. Bruce here. So in the second quarter, just to kind of give you a perspective, we've been running in Indi