Changeset 25cb63a234b1cc264e2f81ab378966376f4fd170

Show
Ignore:
Timestamp:
01/21/11 20:51:29 (3 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1295643089 +0000
git-parent:

[68fdcd372dd8543d8d885b9ba882d7291319b2fc]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1295643089 +0000
Message:

cleanup warnings

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/modules/ping_icmp.c

    r5c8387e r25cb63a  
    236236 
    237237    if(family == AF_INET) { 
    238       struct ip *ip = (struct ip *)packet; 
    239238      struct icmp *icp4; 
    240239      iphlen = ((struct ip *)packet)->ip_hl << 2; 
     
    312311    if(payload->check_no != data->check_no) continue; 
    313312    if(payload->check_pack_cnt != data->expected_count) continue; 
    314     if(payload->check_pack_no < 0 || 
    315        payload->check_pack_no >= data->expected_count) continue; 
     313    if(payload->check_pack_no >= data->expected_count) continue; 
    316314 
    317315    whence.tv_sec = payload->tv_sec;