Index: /branches/rel_apv_10_4_0_112_india/usr/click/lib/libhc/hc_comm.c
===================================================================
--- /branches/rel_apv_10_4_0_112_india/usr/click/lib/libhc/hc_comm.c	(revision 37878)
+++ /branches/rel_apv_10_4_0_112_india/usr/click/lib/libhc/hc_comm.c	(working copy)
@@ -4332,7 +4332,7 @@
 
     cur_ptr_location += sizeof(radius_conf_t) * MAX_RADIUS_CONF_COUNT;
     hc_ldap_conf_table_cmd = (ldap_conf_t *)(shm_chunk_zone + cur_ptr_location);
-    cur_ptr_location += sizeof(ldap_conf_t)*MAX_RADIUS_CONF_COUNT +  sizeof(hc_notice_t) ;
+    cur_ptr_location += sizeof(ldap_conf_t)*MAX_LDAP_CONF_COUNT +  sizeof(hc_notice_t) ;
     is_rhi_on = (uint8_t *)(shm_chunk_zone + cur_ptr_location);
     cur_ptr_location += sizeof(uint8_t);
     is_ospf_on = (uint8_t *)(shm_chunk_zone + cur_ptr_location);
@@ -19657,7 +19657,7 @@
                 }
                 if (j >= MAX_RADIUS_CONF_COUNT) {
                     printf("The records saved radius healthcheck configuration ");
-                    printf("are to maximum (80).\n");
+                    printf("are to maximum (%d).\n", MAX_RADIUS_CONF_COUNT);
                     hc_detach_all_shm_chunk();
                     return ERR_HC_INVALID_ARGUMENT;
                 }
@@ -19747,7 +19747,7 @@
 	}
 	if (i >= MAX_RADIUS_CONF_COUNT) {
 		printf("The records saved radius healthcheck configuration ");
-		printf("are to maximum (80).\n");
+                printf("are to maximum (%d).\n", MAX_RADIUS_CONF_COUNT);
 		hc_detach_all_shm_chunk();
 		return ERR_HC_INVALID_ARGUMENT;
 	}
