Yes, that's correct.
However, although it's not the original point of this thread, everyone serving should realise that a 2-year pay freeze, whilst inflation is running at 5%, means that the real value of their pay (and resulting pension) will have been reduced 10% by next April.