1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-21 23:19:03 +00:00

Use hex constant for packet count.

This commit is contained in:
david
2013-05-03 21:31:02 +00:00
parent 8e4b48adce
commit c9d5dc20e4

View File

@@ -610,7 +610,7 @@ bool NpingOps::issetShowSentPackets(){
int NpingOps::setPacketCount(u32 val){ int NpingOps::setPacketCount(u32 val){
/* If zero is supplied, set highest value */ /* If zero is supplied, set highest value */
if( val==0 ) if( val==0 )
pcount=4294967295u; this->pcount=0xFFFFFFFF;
else else
pcount=val; pcount=val;
this->pcount_set=true; this->pcount_set=true;