diff --git a/src/tsg_action.cpp b/src/tsg_action.cpp index 5be0500..d5017fc 100644 --- a/src/tsg_action.cpp +++ b/src/tsg_action.cpp @@ -851,7 +851,7 @@ static unsigned char tsg_do_deny_action(const struct streaminfo *a_stream, struc local_state=0; if(user_region->deny->app_para.send_icmp_enable==1) { - local_state|=do_action_tamper(a_stream, p_result, user_region, protocol, user_data); + local_state|=send_icmp_unreachable(a_stream); } if(user_region->deny->app_para.send_reset_enable==1) diff --git a/src/tsg_icmp.cpp b/src/tsg_icmp.cpp index f03f333..4ef118b 100644 --- a/src/tsg_icmp.cpp +++ b/src/tsg_icmp.cpp @@ -350,6 +350,6 @@ unsigned char send_icmp_unreachable(const struct streaminfo *a_stream) __FUNCTION__, debug_buf); - return STATE_DROPPKT; + return STATE_DROPME|STATE_DROPPKT;; }