Two years of war in Ukraine has changed the way militaries think