Updated

Despite Wednesday morning's missile firings by Iran against U.S. bases in Iraq, President Trump was still right to order the airstrike last week that killed Iran's Gen. Qassem Soleimani, according to U.S. Rep. Matt Gaetz, R-Fla.

Iran fired as many as 15 ballistic missiles into Iraq, targeting U.S. military and coalition forces, officials said. Ten missiles hit Al-Assad Air Base, one missile hit a military base in Erbil and four missiles failed to hit their targets.

MEGHAN MCCAIN CONFRONTS WARREN ON SOLEIMANI: WHY IS IT SO HARD TO CALL HIM A TERRORIST?

"I'm hopeful this was an intentional miss," Gaetz , a member of the House Armed Services Committee, said on "The Ingraham Angle."

He added he believes President Trump understands the American people hope to avoid a war with Iran -- and said the president's actions have reflected that.

"I think the president has been measured," Gaetz said. "And let's hope that restraint wins the day."

Gaetz argued against those who claim Trump provoked Iran by reneging on the 2015 Iran nuclear deal that was negotiated by the Obama administration.

CLICK HERE TO GET THE FOX NEWS APP

He said he hoped the Trump doctrine would get the U.S. out of the Middle East and argued that Iran seems to respond to U.S. demonstrations of strength.

Fox News' Frank Miles contributed to this report.