rlm_python: add missing default NULL
[freeradius.git] / src / modules / rlm_python / rlm_python.c
index 6134b48..381e686 100644 (file)
@@ -101,7 +101,7 @@ typedef struct python_thread_state {
 static CONF_PARSER module_config[] = {
 
 #define A(x) { "mod_" #x, FR_CONF_OFFSET(PW_TYPE_STRING, rlm_python_t, x.module_name), "${.module}" }, \
-       { "func_" #x, FR_CONF_OFFSET(PW_TYPE_STRING, rlm_python_t, x.function_name) },
+       { "func_" #x, FR_CONF_OFFSET(PW_TYPE_STRING, rlm_python_t, x.function_name), NULL },
 
        A(instantiate)
        A(authorize)
@@ -120,7 +120,7 @@ static CONF_PARSER module_config[] = {
 
 #undef A
 
-       { "python_path", FR_CONF_OFFSET(PW_TYPE_STRING, rlm_python_t, python_path) },
+       { "python_path", FR_CONF_OFFSET(PW_TYPE_STRING, rlm_python_t, python_path), NULL },
        { "cext_compat", FR_CONF_OFFSET(PW_TYPE_BOOLEAN, rlm_python_t, cext_compat), "yes" },
 
        CONF_PARSER_TERMINATOR