Module: kamailio
Branch: master
Commit: ef0427ead03bfb738b6214b91c1763913e70a52d
URL:
https://github.com/kamailio/kamailio/commit/ef0427ead03bfb738b6214b91c17639…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2023-03-14T17:08:46+01:00
nat_traversal:
---
Modified: src/modules/nat_traversal/nat_traversal.c
---
Diff:
https://github.com/kamailio/kamailio/commit/ef0427ead03bfb738b6214b91c17639…
Patch:
https://github.com/kamailio/kamailio/commit/ef0427ead03bfb738b6214b91c17639…
---
diff --git a/src/modules/nat_traversal/nat_traversal.c
b/src/modules/nat_traversal/nat_traversal.c
index d21a8b7e01..28456c77d4 100644
--- a/src/modules/nat_traversal/nat_traversal.c
+++ b/src/modules/nat_traversal/nat_traversal.c
@@ -43,6 +43,7 @@
#include <ctype.h>
#include <errno.h>
#include <time.h>
+#include <inttypes.h>
#include <sys/types.h>
#include <arpa/inet.h>
@@ -923,7 +924,7 @@ static time_t get_register_expire(
}
}
- LM_DBG("maximum expire for all contacts: %lu\n", (uint64_t)expire);
+ LM_DBG("maximum expire for all contacts: %" PRIu64 "\n",
(uint64_t)expire);
return (expire ? expire + now : 0);
}