--- nagios-2.5.original/xdata/xrddefault.c 2006-04-07 15:00:57.000000000 +0100 +++ nagios-2.5/xdata/xrddefault.c 2006-07-21 13:08:35.430520177 +0100 @@ -239,7 +239,7 @@ fprintf(fp,"host {\n"); fprintf(fp,"\thost_name=%s\n",temp_host->name); - fprintf(fp,"\tmodified_attributes=%lu\n",temp_host->modified_attributes); + fprintf(fp,"\tmodified_attributes=%lu\n",temp_host->modified_attributes&16381); /* Strip off active checks state */ fprintf(fp,"\tcheck_command=%s\n",(temp_host->host_check_command==NULL)?"":temp_host->host_check_command); fprintf(fp,"\tevent_handler=%s\n",(temp_host->event_handler==NULL)?"":temp_host->event_handler); fprintf(fp,"\thas_been_checked=%d\n",temp_host->has_been_checked); @@ -293,7 +293,7 @@ fprintf(fp,"service {\n"); fprintf(fp,"\thost_name=%s\n",temp_service->host_name); fprintf(fp,"\tservice_description=%s\n",temp_service->description); - fprintf(fp,"\tmodified_attributes=%lu\n",temp_service->modified_attributes); + fprintf(fp,"\tmodified_attributes=%lu\n",temp_service->modified_attributes&16381); /* Strip off active checks state */ fprintf(fp,"\tcheck_command=%s\n",(temp_service->service_check_command==NULL)?"":temp_service->service_check_command); fprintf(fp,"\tevent_handler=%s\n",(temp_service->event_handler==NULL)?"":temp_service->event_handler); fprintf(fp,"\thas_been_checked=%d\n",temp_service->has_been_checked);