+ if(parms.ip_type==AF_INET && seq==-1){
+ /*IPv4 didn't include enough of the packet to get sequence numbers!*/
+ printf("%s from %s\n",response_label[type],
+ inet_ntop(parms.ip_type, (void*)&src->ipv4->sin_addr, pbuf, 1000));
+ ping_stats.errors++;
+ return 0;
+ }else{
+ dbgprintf(1,"Response received but no requests sent with sequence number %i!\n", seq);
+ return -1;
+ }