From b6b0a69440c32697aa15ed19295f0064440c5ada Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Wed, 22 May 2019 12:25:06 +0300 Subject: [PATCH] Fix parameter option overlap All duration parameters behaved as if they were deprecated due to the bits overlapping. --- include/maxscale/modinfo.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include/maxscale/modinfo.h b/include/maxscale/modinfo.h index ef88a48eb..11b5c366e 100644 --- a/include/maxscale/modinfo.h +++ b/include/maxscale/modinfo.h @@ -110,10 +110,8 @@ enum mxs_module_param_options MXS_MODULE_OPT_PATH_CREAT = (1 << 5), /**< PATH: Create path if it doesn't exist */ MXS_MODULE_OPT_ENUM_UNIQUE = (1 << 6), /**< ENUM: Only one value can be defined */ MXS_MODULE_OPT_DURATION_S = (1 << 7), /**< DURATION: Cannot be specified in milliseconds */ - - /**< Parameter is deprecated: Causes a warning to be logged if the parameter - * is used but will not cause a configuration error. */ - MXS_MODULE_OPT_DEPRECATED = (1 << 7), + MXS_MODULE_OPT_DEPRECATED = (1 << 8), /**< Parameter is deprecated: Causes a warning to be logged if the + * parameter is used but will not cause a configuration error. */ }; /** String to enum value mappings */