Skip to content
Snippets Groups Projects
Commit a2899ce4 authored by Daniel Salzman's avatar Daniel Salzman
Browse files

server: fix selective zone reload upon conf-commit

parent 6f091db0
No related branches found
No related tags found
No related merge requests found
Pipeline #40476 passed
......@@ -146,7 +146,7 @@ typedef enum {
CONF_UPD_FNONE = 0, /*!< Empty flag. */
CONF_UPD_FNOFREE = 1 << 0, /*!< Disable auto-free of previous config. */
CONF_UPD_FMODULES = 1 << 1, /*!< Reuse previous global modules. */
CONF_UPD_FCONFIO = 1 << 2, /*!< Reuse previous cofio reload context. */
CONF_UPD_FCONFIO = 1 << 2, /*!< Reuse previous confio reload context. */
} conf_update_flag_t;
/*!
......
......@@ -663,7 +663,7 @@ int server_reload(server_t *server)
}
conf_update_flag_t upd_flags = CONF_UPD_FNOFREE;
if (full) {
if (!full) {
upd_flags |= CONF_UPD_FCONFIO;
}
if (reuse_modules) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment