Complex sentence: The "Ehrenfels" began transmitting Allied ship movements to the U-boats operating in the Indian Ocean, an action that was extremely damaging to Allied shipping.
Split into simpler sentences: The "Ehrenfels" began transmitting Allied ship movements to the U-boats operating in the Indian Ocean. An action that was extremely damaging to Allied shipping.