Commit a2899ce4 authored by Daniel Salzman's avatar Daniel Salzman

server: fix selective zone reload upon conf-commit

parent 6f091db0
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment