Considering that the original code did not mind that nothing has been outputted I would also vote for just returning "0".

The alternative would be more offensive and possibly breaking existing code as it would raise ICMP messages.