TRIPOLI, Libya — Moammar Gadhafi is ready for a truce to stop the fighting in his country, the visiting South African president said Monday after meeting the Libyan ruler.

But he listed familiar Gadhafi conditions that have scuttled previous cease-fire efforts, and Libyan rebels quickly rejected the offer.

The South African president, Jacob Zuma, said Gadhafi is ready to accept an African Union initiative for a cease-fire that would stop all hostilities, including NATO airstrikes in support of rebel forces.

But Zuma did not say Gadhafi is ready to step down, which is the central demand of the rebels.