Index: /branches/rel_apv_10_4_0_112_gail/usr/src/sys/click/netinet/click_eroute.c
===================================================================
--- /branches/rel_apv_10_4_0_112_gail/usr/src/sys/click/netinet/click_eroute.c	(revision 39124)
+++ /branches/rel_apv_10_4_0_112_gail/usr/src/sys/click/netinet/click_eroute.c	(working copy)
@@ -10873,12 +10873,11 @@
 	/* Enable blacklisting ips from cli using "ip rts blacklist "ip1,ip2,.." ".
 	 * If these ip's are seen under destination ips just return without creating any entry
 	 */
-	if (blacklisted){
+	if (blacklisted && !(flag & EROUTE_RTS_UPDATE)){
 		char local_ip_str[INET6_ADDRSTRLEN];
 		char remote_ip_str[INET6_ADDRSTRLEN];
 		int i;
 
-		fastlog_syslog(LOG_NOTICE,"rts_flag=%d", flag);
 		if (isipv6){
 			inet_ntop(AF_INET6, &local_ip6, local_ip_str, INET6_ADDRSTRLEN);
 			inet_ntop(AF_INET6, &remote_ip6, remote_ip_str, INET6_ADDRSTRLEN);
@@ -10891,16 +10890,16 @@
 				struct in6_addr blk_ip;
 				inet_pton(AF_INET6, blk_list_str[i], &blk_ip);
 				if(in6_addr_cmp(&local_ip6, &blk_ip) == 0){
-					fastlog_syslog(LOG_NOTICE,"blacklisted rts entry (remote %s, local %s)",
-							remote_ip_str, local_ip_str);
+					fastlog_syslog(LOG_NOTICE,"blacklisted rts entry (remote %s, local %s), flag =%d",
+							remote_ip_str, local_ip_str, flag);
 					return;
 				}
 			} else if (is_inet4(blk_list_str[i])) {
 				struct in_addr blk_ip;
 				inet_aton(blk_list_str[i], &blk_ip);
 				if (local_ip.s_addr == blk_ip.s_addr){
-					fastlog_syslog(LOG_NOTICE,"blacklisted rts entry (remote %s, local %s)",
-							remote_ip_str, local_ip_str);
+					fastlog_syslog(LOG_NOTICE,"blacklisted rts entry (remote %s, local %s), flag =%d",
+							remote_ip_str, local_ip_str, flag);
 					return;
 				}
 			}
