Module: kamailio
Branch: master
Commit: e4f2cde596387cc81ff0a26d89654d9d0e24ae10
URL:
https://github.com/kamailio/kamailio/commit/e4f2cde596387cc81ff0a26d89654d9…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-10-21T09:07:39+02:00
core: mem - set xstatus_filter api field
---
Modified: src/core/mem/pkg.c
Modified: src/core/mem/shm.c
---
Diff:
https://github.com/kamailio/kamailio/commit/e4f2cde596387cc81ff0a26d89654d9…
Patch:
https://github.com/kamailio/kamailio/commit/e4f2cde596387cc81ff0a26d89654d9…
---
diff --git a/src/core/mem/pkg.c b/src/core/mem/pkg.c
index 3ad06ec4930..6baf6ef6e64 100644
--- a/src/core/mem/pkg.c
+++ b/src/core/mem/pkg.c
@@ -51,6 +51,7 @@ int pkg_init_api(sr_pkg_api_t *ap)
_pkg_root.xrealloc = ap->xrealloc;
_pkg_root.xreallocxf = ap->xreallocxf;
_pkg_root.xstatus = ap->xstatus;
+ _shm_root.xstatus_filter = ap->xstatus_filter;
_pkg_root.xinfo = ap->xinfo;
_pkg_root.xreport = ap->xreport;
_pkg_root.xavailable = ap->xavailable;
diff --git a/src/core/mem/shm.c b/src/core/mem/shm.c
index 75f2dde2790..7a211856ac5 100644
--- a/src/core/mem/shm.c
+++ b/src/core/mem/shm.c
@@ -242,6 +242,7 @@ int shm_init_api(sr_shm_api_t *ap)
_shm_root.xreallocxf = ap->xreallocxf;
_shm_root.xresize = ap->xresize;
_shm_root.xstatus = ap->xstatus;
+ _shm_root.xstatus_filter = ap->xstatus_filter;
_shm_root.xinfo = ap->xinfo;
_shm_root.xreport = ap->xreport;
_shm_root.xavailable = ap->xavailable;