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:
@@ -610,7 +610,7 @@ bool NpingOps::issetShowSentPackets(){
|
||||
int NpingOps::setPacketCount(u32 val){
|
||||
/* If zero is supplied, set highest value */
|
||||
if( val==0 )
|
||||
pcount=4294967295u;
|
||||
this->pcount=0xFFFFFFFF;
|
||||
else
|
||||
pcount=val;
|
||||
this->pcount_set=true;
|
||||
|
||||
Reference in New Issue
Block a user