mirror of
https://github.com/nmap/nmap.git
synced 2025-12-15 20:29:03 +00:00
Match the type in sizeof with the actual declared type
This commit is contained in:
@@ -253,7 +253,7 @@ NpingOps::NpingOps() {
|
||||
icmp_trans_time=0;
|
||||
icmp_trans_time_set=false;
|
||||
|
||||
memset( icmp_advert_entry_addr, 0, sizeof(u32)*MAX_ICMP_ADVERT_ENTRIES );
|
||||
memset( icmp_advert_entry_addr, 0, sizeof(struct in_addr)*MAX_ICMP_ADVERT_ENTRIES );
|
||||
memset( icmp_advert_entry_pref, 0, sizeof(u32)*MAX_ICMP_ADVERT_ENTRIES );
|
||||
icmp_advert_entry_count=0;
|
||||
icmp_advert_entry_set=false;
|
||||
|
||||
Reference in New Issue
Block a user