--- afd-1.3.6/src/amg/create_fsa.c.original 2007-11-13 21:11:59.000000000 +0100 +++ afd-1.3.6/src/amg/create_fsa.c 2008-09-02 18:48:00.000000000 +0200 @@ -850,6 +850,7 @@ if (hl[i].in_dir_config == YES) { fsa[i].special_flag |= HOST_IN_DIR_CONFIG; + hl[i].host_status &= ~HOST_NOT_IN_DIR_CONFIG; } else { --- afd-1.3.6/src/amg/reread_host_config.c.original 2007-06-08 10:10:48.000000000 +0200 +++ afd-1.3.6/src/amg/reread_host_config.c 2008-09-02 18:50:23.000000000 +0200 @@ -326,6 +326,16 @@ fsa[host_pos].dup_check_timeout = hl[i].dup_check_timeout; #endif fsa[host_pos].special_flag = 0; + if (hl[i].in_dir_config == YES) + { + fsa[host_pos].special_flag |= HOST_IN_DIR_CONFIG; + hl[i].host_status &= ~HOST_NOT_IN_DIR_CONFIG; + } + else + { + fsa[host_pos].special_flag &= ~HOST_IN_DIR_CONFIG; + hl[i].host_status |= HOST_NOT_IN_DIR_CONFIG; + } if (hl[i].host_status & HOST_CONFIG_HOST_DISABLED) { fsa[host_pos].special_flag |= HOST_DISABLED;