Make a gcc 4.1 warning go away.
This commit is contained in:
parent
2aced7ea04
commit
cae61e7ca4
@ -211,7 +211,7 @@ static void sendping(int junk)
|
|||||||
pkt->icmp_type = ICMP_ECHO;
|
pkt->icmp_type = ICMP_ECHO;
|
||||||
pkt->icmp_code = 0;
|
pkt->icmp_code = 0;
|
||||||
pkt->icmp_cksum = 0;
|
pkt->icmp_cksum = 0;
|
||||||
pkt->icmp_seq = htons(ntransmitted++);
|
pkt->icmp_seq = SWAP_BE16(ntransmitted++);
|
||||||
pkt->icmp_id = myid;
|
pkt->icmp_id = myid;
|
||||||
CLR(ntohs(pkt->icmp_seq) % MAX_DUP_CHK);
|
CLR(ntohs(pkt->icmp_seq) % MAX_DUP_CHK);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user