Handle ICMP_ECHO_REPLY in icmp_to_reason.

This commit is contained in:
david 2011-05-29 06:18:57 +00:00
parent fa3d5f678a
commit 83c19abadc

View file

@ -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: