fix ping.c