]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Add version number in rlm_python
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 14 Sep 2019 00:20:46 +0000 (19:20 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 14 Sep 2019 00:21:50 +0000 (19:21 -0500)
src/modules/rlm_python/rlm_python.c

index 631a2956420d09a0d30f6d6636f0245f495ebd6b..d0e83a04a89abf6c3cc8a15d9eb48b80802d125e 100644 (file)
@@ -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