Properly update 004/005 when a rehash changes use_forward.
This commit is contained in:
parent
717f809762
commit
c55b2782fc
2 changed files with 3 additions and 1 deletions
|
@ -104,7 +104,7 @@ construct_cflags_strings(void)
|
||||||
|
|
||||||
switch (chmode_flags[i])
|
switch (chmode_flags[i])
|
||||||
{
|
{
|
||||||
case MODE_EXLIMIT:
|
case MODE_FREETARGET:
|
||||||
case MODE_DISFORWARD:
|
case MODE_DISFORWARD:
|
||||||
if(ConfigChannel.use_forward)
|
if(ConfigChannel.use_forward)
|
||||||
*ptr++ = (char) i;
|
*ptr++ = (char) i;
|
||||||
|
|
|
@ -51,6 +51,7 @@
|
||||||
#include "sslproc.h"
|
#include "sslproc.h"
|
||||||
#include "bandbi.h"
|
#include "bandbi.h"
|
||||||
#include "operhash.h"
|
#include "operhash.h"
|
||||||
|
#include "chmode.h"
|
||||||
|
|
||||||
struct config_server_hide ConfigServerHide;
|
struct config_server_hide ConfigServerHide;
|
||||||
|
|
||||||
|
@ -826,6 +827,7 @@ read_conf(FILE * file)
|
||||||
/* Some global values are also loaded here. */
|
/* Some global values are also loaded here. */
|
||||||
check_class(); /* Make sure classes are valid */
|
check_class(); /* Make sure classes are valid */
|
||||||
privilegeset_delete_all_illegal();
|
privilegeset_delete_all_illegal();
|
||||||
|
construct_cflags_strings();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue