Module: kamailio
Branch: master
Commit: de0906809bc265a24dd29aadf3b2f5bbd4a154f0
URL:
https://github.com/kamailio/kamailio/commit/de0906809bc265a24dd29aadf3b2f5b…
Author: riccardv <tafkap(a)gmx.com>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2021-05-24T22:28:06+02:00
ims_ipsec_pcscf: use ksr_clock_gettime()
---
Modified: src/modules/ims_ipsec_pcscf/ipsec.c
---
Diff:
https://github.com/kamailio/kamailio/commit/de0906809bc265a24dd29aadf3b2f5b…
Patch:
https://github.com/kamailio/kamailio/commit/de0906809bc265a24dd29aadf3b2f5b…
---
diff --git a/src/modules/ims_ipsec_pcscf/ipsec.c b/src/modules/ims_ipsec_pcscf/ipsec.c
index 03474745b2..e874abaa34 100644
--- a/src/modules/ims_ipsec_pcscf/ipsec.c
+++ b/src/modules/ims_ipsec_pcscf/ipsec.c
@@ -104,7 +104,7 @@ static uint choose_nlmsg_seq (void)
{
static double Tini=0;
struct timespec ts;
- clock_gettime(CLOCK_REALTIME, &ts);
+ ksr_clock_gettime(&ts);
return(1000*(ts.tv_sec - Tini + (ts.tv_nsec * 1E-9))); // us
}