Bayonet-type fastening