Browse code

- removed bkl_hit_cnt stat from dst_blacklist_add_to function

Vladimir Marek authored on 18/10/2007 12:43:03
Showing 1 changed files
... ...
@@ -764,12 +764,6 @@ int dst_blacklist_add_to(unsigned char err_flags,  struct dest_info* si,
764 764
 	if (unlikely (blacklist_run_hooks(&blst_add_cb, si, &err_flags, msg) ==
765 765
 					DST_BLACKLIST_DENY))
766 766
 		return 0;
767
-#endif
768
-#ifdef USE_DST_BLACKLIST_STATS
769
-	/* if hooks are defined then increment hit counter only when a
770
-	 * destination is added into blacklist
771
-	 */
772
-        dst_blacklist_stats[process_no].bkl_hit_cnt++;
773 767
 #endif
774 768
 	su2ip_addr(&ip, &si->to);
775 769
 	return dst_blacklist_add_ip(err_flags, si->proto, &ip,