mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Handle ICMP_ECHO_REPLY in icmp_to_reason.
This commit is contained in:
parent
fa3d5f678a
commit
83c19abadc
1 changed files with 3 additions and 0 deletions
|
|
@ -172,6 +172,9 @@ reason_codes icmp_to_reason(int icmp_type, int icmp_code){
|
|||
|
||||
switch(icmp_type){
|
||||
|
||||
case ICMP_ECHOREPLY:
|
||||
return ER_ECHOREPLY;
|
||||
|
||||
case ICMP_UNREACH:
|
||||
switch(icmp_code){
|
||||
case ICMP_UNREACH_NET:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue