mirror of
https://github.com/nmap/nmap.git
synced 2026-01-20 21:29:06 +00:00
Handle ICMP_ECHO_REPLY in icmp_to_reason.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user