From: Arran Cudbard-Bell Date: Sat, 14 Sep 2019 00:20:46 +0000 (-0500) Subject: Add version number in rlm_python X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b7b401fd2f44d760903e03c75697696bb7f120e;p=thirdparty%2Ffreeradius-server.git Add version number in rlm_python --- diff --git a/src/modules/rlm_python/rlm_python.c b/src/modules/rlm_python/rlm_python.c index 631a2956420..d0e83a04a89 100644 --- a/src/modules/rlm_python/rlm_python.c +++ b/src/modules/rlm_python/rlm_python.c @@ -1223,6 +1223,7 @@ static int mod_load(void) rad_assert(!Py_IsInitialized()); fr_log(LOG_DST, L_INFO, __FILE__, __LINE__, "Python version: %s", Py_GetVersion()); + dependency_version_number_add(NULL, "python", Py_GetVersion()); /* * Explicitly load libpython, so symbols will be available to lib-dynload modules