The Israeli defence minister has signalled that the government might consider releasing a Lebanese prisoner in exchange for the two soldiers who were captured by Hezbollah.