mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
Match the type in sizeof with the actual declared type
This commit is contained in:
parent
7e4fdc9f8b
commit
4ab57093da
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue